it is a thingy called magic quotes. setup in the php.ini file. turn it off
and they will go away.
or, if you can't add a stripslashes() to every variable that will passed
this way.
Jim
- Original Message -
From: Evansville Scene [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
either set magic_quotes_gpc to off in you .ini file - or use
stripslashes() on the variable
-Original Message-
From: Evansville Scene [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 11:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Slash problem
I'm fairly new @ PHP, so
http://www.php.net/manual/en/function.stripslashes.php
-Original Message-
From: Evansville Scene [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Slash problem
I'm fairly new @ PHP, so forgive me if the answer is trivial ...
set_magic_quotes_runtime (false)
bvr.
On Thu, 20 Dec 2001 09:43:28 +1100, Martin Towell wrote:
either set magic_quotes_gpc to off in you .ini file - or use
stripslashes() on the variable
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi
set this in your php.ini file:
magic_quotes_gpc = Off
You'll have to use addslashes before you can store these variables with an
' in a database after turning it off.
Tom
At 10:39 AM 20/12/01, Evansville Scene wrote:
I'm fairly new @ PHP, so forgive me if the answer is trivial ...
In many
I disagree.
That doesn't affect whether or not GPC variables are addslashes()'d.
Mike
Bas Van Rooijen wrote:
set_magic_quotes_runtime (false)
bvr.
On Thu, 20 Dec 2001 09:43:28 +1100, Martin Towell wrote:
either set magic_quotes_gpc to off in you .ini file - or use
stripslashes()
6 matches
Mail list logo