View Single Post
  #1 (permalink)  
Old December 16th, 2007, 07:24 AM
btaysisson btaysisson is offline
Registered User
 
Join Date: Dec 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 7 - Problem with filepath on Image Upload

I'm stuck on the first exercise because I think I have the file path wrong. This is how I entered the path (replacing 'user' with my username).

/home/user/public_html/beginning_amp/chapter7/images/

And this is the error message that pops up. Any ideas?


Warning: move_uploaded_file(c:/home/user/public_html/beginning_amp/chapter7/images/photo.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/user/public_html/beginning_amp/chapter7/check_image.php on line 21

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpm9E8vf' to 'c:/home/user/public_html/beginning_amp/chapter7/images/photo.jpg' in /home/user/public_html/beginning_amp/chapter7/check_image.php on line 21

Reply With Quote
The Following User Says Thank You to btaysisson For This Useful Post: