Re: fopen

From: Date: Thu, 13 Jul 2000 10:43:44 +0000
Subject: Re: fopen
Groups: php.general 
Request: Send a blank email to php-general+get-6408@lists.php.net to get a copy of this message
At 10:43 13/07/00 +0200, you wrote:
Does fopen create a file when it does not exists? i.e. $fp =fopen ("/usr/local/httpd/i-pay/unpack/lin112/data/$ordernr.dat","w");
yup you right
and if so why do i get this message: Warning: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /usr/local/httpd/i-pay/unpack/lin112/data/302.dat owned by uid 200 in /usr/local/httpd/htdocs/projecten/sanitairshowroom/behandeling.php3 on line 90 Warning: fopen("/usr/local/httpd/i-pay/unpack/lin112/data/302.dat","w") - No such file or directory in /usr/local/httpd/htdocs/projecten/sanitairshowroom/behandeling.php3 on line 90
you can see the error message, read it carefully, they told everything -- Doubt whom you will, but never yourself. http://php.klik.or.id -- latest info == idPHPUG!

« previous php.general (#6408) next »