How to prevent varibales from being escaped?

From: Date: Mon, 09 Oct 2000 17:37:47 +0000
Subject: How to prevent varibales from being escaped?
Groups: php.general 
Request: Send a blank email to php-general+get-19217@lists.php.net to get a copy of this message
Hello all, Suppose I call a PHP script in the following way: script.php3?test=\ The value "\" in the variable I want to use in my program. However, when I then do a "print $test;" PHP is kind enough to escape this for me and prints \\ when I want it to print just the single backslash. Any suggestions as to how to prevent this behaviour from PHP? Any help is much appreciated :) -- Remco Rijnders, ICQ: 760542 | Linux adanidas 2.2.16 is up 3 days, 8:24 http://www.starchat.net/ | Reporter: Mr Gandhi, what do you think of Phone: (+31) 70 3467809 | Western Civilization? Cellular: (+31) 6 22091723 | Gandhi: I think it would be a good idea.

« previous php.general (#19217) next »