This 'setting' is one of the best things PHP got.
Yes, you can configure PHP.ini so it won't put '/' infront " or ' but then
you'll have to do it yourself in the script... 

This is more a security issue, it is needed, believe me....

Cheers,
Maxim Maletsky

-----Original Message-----
From: John Vanderbeck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 1:07 AM
To: Nguyen, David M; [EMAIL PROTECTED]
Subject: Re: [PHP] Why???


I can help you there, as I had the same problem until someone else helped
me.  This is because PHP will escape the input it gets.  I think this is
dependant on some enviroment setting, but I can't recall which one.

To fix it you call stripslashes($var);

- John Vanderbeck
- Admin, GameDesign

----- Original Message -----
From: "Nguyen, David M" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 14, 2001 11:02 AM
Subject: [PHP] Why???


> Hi all,
>
> I have a PHP web form setup for user to fill in information then email it
to
> me after pressing SUBMIT button.  Everytime user uses double-quote(") or
> single(') it inserts (/) right in front of " or '.  Does anyone know why
and
> how to fix it?  Please advise.  Below is example of what I got from my
email
> when user submits form to me.
>
>
> Topic: Added \"Initial login to the EMS\" procedure.
>
>
> Thanks in advance,
> David
>
>
>
> --
> 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]
>
>


-- 
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]

-- 
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]

Reply via email to