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 !



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to