Is it me or my server company?

From: Date: Wed, 04 Jul 1979 23:55:00 +0000
Subject: Is it me or my server company?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56248@lists.php.net to get a copy of this message
Okay I'm trying to use fopen() to open a file just uploaded via a form. like this: echo "<br>parsing uploaded file . . ."; $path = fopen($form_data, "r"); echo "<br>opeing a path . . ."; $thesize = filesize($form_data); echo "<br>getting size . . ."; $tmpdata = fread($path, $thesize); echo "<br>reading data . . ."; $data = addslashes($tmpdata); but I get this error: parsing uploaded file . . . Warning: SAFE MODE Restriction in effect. The script whose uid is 10294 is not allowed to access /tmp/phpxyqF2z owned by uid 0 in /usr/local/plesk/apache/vhosts/futurebird.com/httpdocs/mapbuild2/displaymap. php3 on line 34 Is there some kind of safe mode that keeps fopen() from looking at the tempoary directory where the uploaded file is stored? The other error: Warning: fopen("/tmp/phpxyqF2z","r") - Success in /usr/local/plesk/apache/vhosts/futurebird.com/httpdocs/mapbuild2/displaymap. php3 on line 34 When it says "Success" what is it talking about? Is there a way around this? Maybe since I'm on a vitual server I need to include a more full path? I'm deeply confused. Susan

« previous php.general (#56248) next »