< Upload Image >
This is a PHP script for allowing users to upload an image (or images) to your site. If you get an error that looks something like this:
Warning: copy(./myImage.gif) [function.copy]: failed to open stream: Permission denied in /var/www/php/uploadImage.php…
you will need to change the permissions of the directory.
uploadImage.php
(*****Comments like these must be followed to run PHP!*****)