There's an option in php.ini:
magic_quotes_gpc = On/Off;
If on, any GET, POST, and Cookie data will come back with \ marks before '
and " marks. Guesing one server has it set to Off, and one set to On.
Justin Buist
Trident Technology, Inc.
4700 60th St. SW, Suite 102
Grand Rapids, MI 49512
Ph. 616.554.2700
Fx. 616.554.3331
Mo. 616.291.2612
On Fri, 14 Sep 2001, Rick Emery wrote:
> Don't know why you're getting problem. However, you can use stripslashes()
> to avoid the problem.
>
> -----Original Message-----
> From: Bruno Franx [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 14, 2001 10:04 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] string problem
>
>
> scenario: Win.nt 4.0 pach6a Workstation, IE 5.5, Apache/1.3.20, php 4.0.6
> wath goes wrong: when I set a string variable containing by example : "
> hello "jack" "
> on my html page php convert it to " hello \"jack\" " and I get no
> errors
> on another machine with same configuration I get
> " hello "jack" " without quoting
> any Ideas?
> TIA
>
>
>
> --
> PHP Database 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 Database 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 Database 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]