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 08:46:02 +0000
Subject: PHP 4.0 Bug #4435: when you use the fwrite(file, string) function, it puts "\"s before any ' or "
Groups: php.dev 
Request: Send a blank email to php-dev+get-18669@lists.php.net to get a copy of this message
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 */

« previous php.dev (#18669) next »