[PHP] slashes \ appearing

2001-05-04 Thread magnus lawrie

I am using a form to test posting a variable. If my variable looks like this
in script post_var.php3 :

stringinaaform

then  it comes out like this in recieve.php3 :

\stringinaaform\

why? thanks in advance.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] slashes \ appearing

2001-05-04 Thread Jason Stechschulte

On Fri, May 04, 2001 at 12:41:57PM +0200, magnus lawrie wrote:
 I am using a form to test posting a variable. If my variable looks like this
 in script post_var.php3 :
 stringinaaform
 then  it comes out like this in recieve.php3 :
 \stringinaaform\
 why? thanks in advance.

Because PHP is configured with:
--enable-magic-quotes

-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
But maybe we don't really need that...
 -- Larry Wall in [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]