RE: [PHP] Is there a PHP for Dummies?
| From: | John W. Holmes | Date: | Sat, 29 Mar 2003 02:50:46 +0000 |
| Subject: | RE: [PHP] Is there a PHP for Dummies? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141541@lists.php.net to get a copy of this message | ||
I dare you to find an explanation of an ASP feature and you'll realize
how easy you've got it. How much easier can it be? First, you type in:
www.php.net/get_magic_quotes_gpc
to get the manual page. From there, in the explanation, there is a link
labeled "magic_quotes_gpc" (you can click on links) which takes you
here:
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
for an explanation of magic quotes.
Say you have this string:
$str = "This has a \" quote in it";
If you don't understand why you need that backslash there (or escape
character) then you really don't need to be looking for the "quick"
answers on the PHP list. I don't mean to be rude, but keep reading and
searching and testing for a while until you've got the basics down.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -----Original Message-----
> From: Beauford.2002 [mailto:beauford.2002@rogers.com]
> Sent: Friday, March 28, 2003 9:32 PM
> To: Jennifer Goodie
> Cc: PHP General
> Subject: Re: [PHP] Is there a PHP for Dummies?
>
> 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?
>
>
> > 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
and
> what
> > it returns - but nowhere can I find out what it's for. Does it count
> sheep,
> > do a quote of the day, or what - maybe I'm just stupid - but in any
> event
> I
> > have spent more time in the last two weeks searching for things and
> getting
> > no answers - Any help in pointing me a good straight forward
> tutorial/manual
> > would be appreciated.
> >
> > B.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php