Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically.
Seems to explain it pretty nicely.
Beauford.2002 wrote:
No, the name explains absolutely squat. What is a magic quote? Sounds like something I smoked in the 60's. Maybe to you it makes sense as you know what it does. To me it means absolutely nothing - nor does the PHP manual explain it.
B.
----- Original Message ----- From: "Jennifer Goodie" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 5:07 PM Subject: RE: [PHP] Is there a PHP for Dummies?
whatThat is a really, really, really poor example. Tha name says it all. It gets the magic quotes setting for gpc(get, post, cookie). You can figure out what most PHP functions do just by looking at their names, that's actually what I like about PHP.
-----Original Message----- From: Beauford.2002 [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:54 PM To: PHP General Subject: [PHP] Is there a PHP for Dummies?
I'm really tired of trying to figure out the PHP manual and need something
that explains things in plain straight forward English. Like
get_magic_quotes_gpc() for example - the manual says how to use it and
it returns - but nowhere can I find out what it's for. Does it countsheep,
do a quote of the day, or what - maybe I'm just stupid - but in any eventI
have spent more time in the last two weeks searching for things andgetting
no answers - Any help in pointing me a good straight forwardtutorial/manual
would be appreciated.
B.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.