RE: [PHP-INST] Default files permissions

From: Date: Tue, 05 Feb 2002 13:31:47 +0000
Subject: RE: [PHP-INST] Default files permissions
Groups: php.install 
Request: Send a blank email to php-install+get-5926@lists.php.net to get a copy of this message
All right, but, here is the code : <?php $file="homepage.txt"; $fp=fopen($file,"w"); if(!$fp) echo "&boite.sortie=error"; else{ if(fputs($fp, "&texte=".$contenu)!=0) echo "&boite.sortie=fichier $file mis à jour."; else echo "&boite.sortie=erreur lors de l'écriture sur $file"; fclose($fp); } ?> It seems that when I force the right to 644, "rw-r--r--", the code does not work !

« previous php.install (#5926) next »