Hi im trying to upload a file to my webspace via a form.
my host (supanames) dont let you use copy() or access to /tmp at all. Even when i use move_uploaded_file() function instead of copy() i get the following errors.
Warning: move_uploaded_file(../~off/images/DSC00094.JPG): failed to open stream: Permission denied in /home/leecasecom/public_html/breakoutdj/fileupload/upload/index.php on line 40
Warning: move_uploaded_file(): Unable to move '/tmp/phpQ9z3CN' to '../~off/images/DSC00094.JPG' in /home/leecasecom/public_html/breakoutdj/fileupload/upload/index.php on line 40
How can i get around this? is there a way to make the form upload the image to /home/leecasecom/public_html/tmp? rather than /tmp ?