Re: Trouble with \
| From: | Richard Baskett | Date: | Wed, 24 Jul 2002 22:29:20 +0000 |
| Subject: | Re: Trouble with \ | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109367@lists.php.net to get a copy of this message | ||
Try this function:
http://www.php.net/manual/en/function.stripslashes.php
Rick
"And God shall wipe away all tears from their eyes; and there shall be no
more death, neither sorrow, nor crying, neither shall there be any more
pain: for the former things are passed away." - Revelation 21:4
> From: <skeller@healthtvchannel.org>
> Date: Wed, 24 Jul 2002 14:30:08 -0800
> To: "PHP List \(E-mail\)" <php-general@lists.php.net>
> Subject: [PHP] Trouble with \
>
> Anyway, with asides to the snooty "RTFM" reply I got, I thought I'd share.
>
> Turns out the \'s that I was having problems getting rid of were written
> there from a form post that was used to collect the data. I still haven't
> found a way to remove them after reading them from the file, but I did
> manage to change them before they were posted by doing a strtr.
>
> If someone has a way to clearn \'s out of a string brought in from a file,
> I'm all ears, but it's working now.
>
>
>
> --
> The Health TV Channel, Inc.
> (a non - profit organization)
> 3820 Lake Otis Pkwy.
> Anchorage, AK 99508
> 907.770.6200 ext.220
> 907.336.6205 (fax)
> Web: www.healthtvchannel.org
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>