I am trying to build a form that includes an upload of a picture that I want to store in a mysql database. I have 2 questions. I am a newbie trying to learn and my book doesn't seem to give proper answers.

First, what am I supposed to put for the path in $file_dir? An example? I keep getting a warning "Warning: move_uploaded_file(/tmp/fish pic.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\do_upload.php on line 10". Here is the code: