jianneng
02-01-2003, 08:10 PM
Hi, I want to create a page which allows users to upload their photos to my server. So I used the following function: copy($photo,$uploaddir) where my $uploaddir looks something like /home/mydomain/mainwebsite_html/photos/
Now a message appears:
Warning: SAFE MODE Restriction in effect. The script whose uid is 558 is not allowed to access /home owned by uid 0 in /home/virtual/site56/fst/var/www/html/reg_form.php on line 38
I have already "CHMOD" the script and directory to 777, but still the same message appears. Can you advise me on how to correct this?
Now a message appears:
Warning: SAFE MODE Restriction in effect. The script whose uid is 558 is not allowed to access /home owned by uid 0 in /home/virtual/site56/fst/var/www/html/reg_form.php on line 38
I have already "CHMOD" the script and directory to 777, but still the same message appears. Can you advise me on how to correct this?