RE: [PHP] Re: Simple Question
| From: | Martin Towell | Date: | Thu, 13 Dec 2001 05:04:46 +0000 |
| Subject: | RE: [PHP] Re: Simple Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77542@lists.php.net to get a copy of this message | ||
it's just I would've gone ahead and tried one way to see if it gave me a
parse error - but then again, I like doing things the hard way... :)
-----Original Message-----
From: Gaylen [mailto:gfraley5@earthlink.net]
Sent: Thursday, December 13, 2001 4:05 PM
To: Martin Towell; php-general@lists.php.net
Subject: Re: [PHP] Re: Simple Question
To be honest, the book PHP4 Developer's Guide by Blake Schwendiman has it
listed as strip_slashes(). I just happened to be reading it when I saw the
original message and copied it as it's listed in the index. So, rather than
blaming him, I took the blame :). I then grabbed the Docs and saw it didn't
have the underscore. Am I vindicated?
Gaylen
gfraley5@earthlink.net <mailto:gfraley5@earthlink.net>
Home http://www.gaylenandmargie.com <http://www.gaylenandmargie.com>
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite
<http://www.gaylenandmargie.com/phpwebsite>
----- Original Message -----
From: Martin <mailto:martin.towell@world.net>
Towell
To: 'Gaylen Fraley' <mailto:gfraley5@earthlink.net> ;
php-general@lists.php.net <mailto:php-general@lists.php.net>
Sent: Wednesday, December 12, 2001 10:56 PM
Subject: RE: [PHP] Re: Simple Question
you look at the docs or did you do it the trail-and-error way?
-----Original Message-----
From: Gaylen Fraley [ mailto:gfraley5@earthlink.net
<mailto:gfraley5@earthlink.net> ]
Sent: Thursday, December 13, 2001 3:22 PM
To: php-general@lists.php.net <mailto:php-general@lists.php.net>
Subject: Re: [PHP] Re: Simple Question
Nope. fatfingered :) stripslashes() is correct!
--
Gaylen
gfraley5@earthlink.net <mailto:gfraley5@earthlink.net>
Home http://www.gaylenandmargie.com <http://www.gaylenandmargie.com>
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite
<http://www.gaylenandmargie.com/phpwebsite>
"Martin Towell" <martin.towell@world.net> wrote in message
news:6416776FCC55D511BC4E0090274EFEF5089D07@exchange.world.net
<news:6416776FCC55D511BC4E0090274EFEF5089D07@exchange.world.net>
...
> Gaylen is prob right - I didn't check me syntax :(
>
> -----Original Message-----
> From: Tom Ray [ mailto:tom@blazestudios.com <mailto:tom@blazestudios.com>
]
> Sent: Thursday, December 13, 2001 3:11 PM
> To: Gaylen Fraley
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Re: Simple Question
>
>
> oh no, Iv'e gotten two answers...
>
> stripslashes() and strip_slashes()
>
> which one? which one?! <G>
>
> Gaylen Fraley wrote:
>
> >strip_slashes()
> >
> >--
> >Gaylen
> >gfraley5@earthlink.net
> >Home http://www.gaylenandmargie.com <http://www.gaylenandmargie.com>
> >PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite
<http://www.gaylenandmargie.com/phpwebsite>
> >
> >"Tom Ray" <tom@blazestudios.com> wrote in message
> > news:3C1824A4.4070609@blazestudios.com
<news:3C1824A4.4070609@blazestudios.com>
...
> >
> >>I have a quick question that I haven't been able to find the answer to
> >>yet. I've made a couple of guest books via PHP but the biggest problem
> >>I'm having is if any one inputs a ' or " or anything like that, the
> >>output in the book shows the stupid \ for the escape. So the word
> >>"Tom's" looks like "Tom\'s" Is there anyway for me to
handle those
> >>characters so the backslash doesn't appear in the output?
> >>
> >>Thanks,
> >>Tom
> >>
> >
> >
> >
>
>
--
PHP General Mailing List ( http://www.php.net/ <http://www.php.net/> )
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net