PHP 4.0 Bug #10591 Updated: file() seemingly randomly adds slashes
| From: | phpbug at samrowe dot com | Date: | Wed, 02 May 2001 00:17:20 +0000 |
| Subject: | PHP 4.0 Bug #10591 Updated: file() seemingly randomly adds slashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53257@lists.php.net to get a copy of this message | ||
ID: 10591
User Update by: phpbug@samrowe.com
Status: Open
Bug Type: *General Issues
Description: file() seemingly randomly adds slashes
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data, e.g. data from
SQL, from exec(), etc.magic_quotes_runtime = Off
Previous Comments:
---------------------------------------------------------------------------
[2001-05-01 20:15:23] zak@php.net
Could you post the relevant section of your php.ini file?
---------------------------------------------------------------------------
[2001-05-01 20:03:56] phpbug@samrowe.com
Changed. Looks like the runtime var is getting turned on and
off... what's up wit dat?! :)
---------------------------------------------------------------------------
[2001-05-01 19:56:17] zak@php.net
That does seem odd...
Try get_magic_quotes_runtime() instead of get_magic_quotes_gpc() - gpc quoting only happens to
get/post/cookie data.
---------------------------------------------------------------------------
[2001-05-01 19:14:25] phpbug@samrowe.com
Sorry, file.txt should work now. I saw you hit the 404.
---------------------------------------------------------------------------
[2001-05-01 19:08:34] phpbug@samrowe.com
Sorry, file.txt should work now. I saw you hit the 404.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=10591