geckojohn2003
New Member
- Messages
- 6
- Reaction score
- 0
- Points
- 0
HI,
I'm getting the following output after trying to upload an image to a directory. I have used several examples of scripts from different books, and ALL seem to output pretty much the same error messages,
Hope someone can help!
Warning: include(conenction.inc.php) [function.include]: failed to open stream: No such file or directory in /home/joes/public_html/check_image.php on line 3
Warning: include() [function.include]: Failed opening 'conenction.inc.php' for inclusion (include_path='.:/x10hosting/php2/pear/PEAR') in /home/joes/public_html/check_image.php on line 3
Warning: move_uploaded_file(/images/bus_map.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/joes/public_html/check_image.php on line 18
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpkJR5Xr' to '/images/bus_map.jpg' in /home/joes/public_html/check_image.php on line 18
I can't work out whats going on
Many thanks in advance!
Edit:
Its ok!
I've solved the problem! I had the worst POSSIBLE typos ever seen in a single PHP script. All works fine - for now!
Thanks
I'm getting the following output after trying to upload an image to a directory. I have used several examples of scripts from different books, and ALL seem to output pretty much the same error messages,
Hope someone can help!
Warning: include(conenction.inc.php) [function.include]: failed to open stream: No such file or directory in /home/joes/public_html/check_image.php on line 3
Warning: include() [function.include]: Failed opening 'conenction.inc.php' for inclusion (include_path='.:/x10hosting/php2/pear/PEAR') in /home/joes/public_html/check_image.php on line 3
Warning: move_uploaded_file(/images/bus_map.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/joes/public_html/check_image.php on line 18
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpkJR5Xr' to '/images/bus_map.jpg' in /home/joes/public_html/check_image.php on line 18
I can't work out whats going on
Many thanks in advance!
Edit:
Its ok!
I've solved the problem! I had the worst POSSIBLE typos ever seen in a single PHP script. All works fine - for now!
Thanks
Last edited: