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

From: Date: Wed, 02 May 2001 00:15:23 +0000
Subject: Bug #10591 Updated: file() seemingly randomly adds slashes
Groups: php.dev 
Request: Send a blank email to php-dev+get-53256@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: Could you post the relevant section of your php.ini file? Previous Comments: --------------------------------------------------------------------------- [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. --------------------------------------------------------------------------- [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. --------------------------------------------------------------------------- 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

« previous php.dev (#53256) next »