Re: Is there a PHP for Dummies?
| From: | Leif K-Brooks | Date: | Sat, 29 Mar 2003 02:49:33 +0000 |
| Subject: | Re: Is there a PHP for Dummies? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141542@lists.php.net to get a copy of this message | ||
After a quick search of the php manual, I came upon http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which says:
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" <goodie@apollointeractive.com> To: "Beauford.2002" <beauford.2002@rogers.com>; "PHP General" <php-general@lists.php.net> Sent: Friday, March 28, 2003 5:07 PM Subject: RE: [PHP] Is there a PHP for Dummies?-- 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.That 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:beauford.2002@rogers.com] 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 andwhatit 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 eventIhave spent more time in the last two weeks searching for things andgettingno answers - Any help in pointing me a good straight forwardtutorial/manualwould be appreciated. B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php