Open_basedir

From: Date: Mon, 05 Aug 2002 19:50:10 +0000
Subject: Open_basedir
Groups: php.windows 
Request: Send a blank email to php-windows+get-15131@lists.php.net to get a copy of this message
open_basedir is set on the server. SafeMode is alto turned on. When i'm trying to copy uploaded file to another directory: copy($_FILES['userfile']['tmp_name'], "myfile.txt"); i get this error: Warning: open_basedir restriction in effect. File is in wrong directory in /home/webhosting/anheltours/vhost/www.site.ee/htdocs/fu/fu2.php on line 11 Is there a special directory for that or something? How can i copy uploaded file to another directory? Please help me. Thanks.

« previous php.windows (#15131) next »