note 10889 deleted from function.fopen by sander

From: Date: Sun, 07 Apr 2002 11:12:29 +0000
Subject: note 10889 deleted from function.fopen by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28824@lists.php.net to get a copy of this message
[Editor's Note: Before posting another note to the manual, please take the time to read the note submission guidelines - handily placed above the submission form - before posting another note. Regarding your question, PHP adds slashes based on a setting in the PHP configuration file. Read up on the config settings at http://www.php.net/manual/en/configuration.php - also check out the ini_set and ini_get functions. --zak@php.net] fputs adds stupid \'s before ' and ". If you then want to print out the file you made with fputs, add these two lines to change \' and \" back to ' and ". $file = str_replace("\'","'",$text); $file2 = str_replace('\"','"',$file);

« previous php.notes (#28824) next »