Re: PHP 4.0 Bug #4435: when you use the fwrite(file, string) function, it puts "\"s before any ' or "

From: Date: Sat, 13 May 2000 10:18:50 +0000
Subject: Re: PHP 4.0 Bug #4435: when you use the fwrite(file, string) function, it puts "\"s before any ' or "
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-18672@lists.php.net to get a copy of this message
Turn magic quotes off! (php.ini) Faisal ----- Original Message ----- From: <daniele@dcs.it> To: <php-dev@lists.php.net> Sent: Saturday, May 13, 2000 1:46 PM Subject: [PHP-DEV] PHP 4.0 Bug #4435: when you use the fwrite(file, string) function, it puts "\"s before any ' or " | From: daniele@dcs.it | Operating system: Linux Slackware 7.0 | PHP version: 4.0 Release Candidate 2 | PHP Bug Type: Misbehaving function | Bug description: when you use the fwrite(file, string) function, it puts "\"s before any ' or " | | /* the following is the content of a <textarea></textarea> HTML tag */ | | /* this (") and this(') give some trouble */ | | /* if the textarea name is $body, I do something like this : */ | | $ofile=fopen("/tmp/tempfile", 'w'); | fwrite($ofile, $body); | | /* when i go and read $ofile, it utputs like this : */ | | this (\") and this(\') give some trouble | | /* | It happens both with RC1 and RC2. | I used to work with php-3.0.12, I updated the software on the server | to both the latest versions, but I had to installa 3.0.12 back! | Any Idea? | | bye | | Daniele | | */ | | | | | | | | | -- | PHP Development Mailing List <http://www.php.net/> | To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net | For additional commands, e-mail: php-dev-help@lists.php.net | To contact the list administrators, e-mail: php-list-admin@lists.php.net | |

« previous php.dev (#18672) next »