PHP 4.0 Bug #10591 Updated: file() seemingly randomly adds slashes

From: Date: Wed, 02 May 2001 00:03:57 +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-53255@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 Changed. Looks like the runtime var is getting turned on and off... what's up wit dat?! :) Previous Comments: --------------------------------------------------------------------------- [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. --------------------------------------------------------------------------- [2001-05-01 18:24:21] phpbug@samrowe.com http://airbag.tss.peachnet.edu/~sam/file.php Click on "Try Again" and you'll see the quotes become escaped and then not escaped seemingly at random. The code is here: http://airbag.tss.peachnet.edu/~sam/file.txt http://airbag.tss.peachnet.edu/info.php is the phpinfo information. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10591

« previous php.dev (#53255) next »