problem with file copy after uploading

From: Date: Tue, 05 Sep 2000 15:50:22 +0000
Subject: problem with file copy after uploading
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-15312@lists.php.net to get a copy of this message
When a file is uploaded to the remote server, I got the the following error code: Warning: SAFE MODE Restriction in effect. The script whose uid is 12073 is not allowed to access /tmp/phpWjS20i owned by uid 0 in /free/home/greenfield/phtest/do_upload.php on line 6 Couldn't copy the file! The server runs php 3.0.12 and linux. Here's my do_upload.php file: <? if ($img1_name != "") { // comment // // comment copy("$img1", "/free/home/greenfield/phtest/$img1_name") or die("Couldn't copy the file!"); } else { die("No input file specified"); } ?>

« previous php.general (#15312) next »