Bug #10591 Updated: file() seemingly randomly adds slashes
| From: | zak@php.net | Date: | Wed, 02 May 2001 00:25:18 +0000 |
| Subject: | Bug #10591 Updated: file() seemingly randomly adds slashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53261@lists.php.net to get a copy of this message | ||
ID: 10591
Updated by: zak
Reported By: phpbug@samrowe.com
Status: Open
Bug Type: *General Issues
PHP Version: 4.0 Latest CVS (01/05/2001)
Assigned To:
Comments:
If this:
; Magic quotes for runtime-generated data, e.g. data from
SQL, from exec(), etc.magic_quotes_runtime = Off
is literal, it should be:
; Magic quotes for runtime-generated data, e.g. data from
SQL, from exec(), etc.
magic_quotes_runtime = Off
Previous Comments:
---------------------------------------------------------------------------
[2001-05-01 20:17:20] phpbug@samrowe.com
; 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
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10591&edit=2