Hello, I have a simple script that allows users to upload files from local machine to remote machine (server on which the script is running). I get the following error -
Warning: SAFE MODE Restriction in effect. The script whose uid is 7060 is not allowed to access /var/tmp/phpAT2295 owned by uid 0 in /usr/home/t/e/testsrc/public_html/samples/addfile.php on line 32
could not copy
I completely understand that I cannot use the copy mode to upload the file to a temp. location and move it from there to the desired location.
I instead tried using exec ("cp $file path$file_name") but even this is not supported on the server.
Is there a way to do this? My ISP wont do any modification to the php.ini file.
Thanks.