On Tue, 20 Mar 2001 13:03, Chung Ha-Nyung wrote:
> I found that when I pass the double quote(") through get(or post)
> method, it is transformed into slash + double quote (\").
> Although it seems useful in making SQL query, it's really annoying
> whenever I pass the value to the other php page through get/post again.
>
> Can I turn off this feature?
Yes, but you risk unexpected results by not escaping. It is controlled by
the value of magic_quotes_gpc in yor php.ini file.
Consider instead using stripslashes to remove the slashes before display.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
--
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]