Re: Stripslashes question.
| From: | Sean C. McCarthy | Date: | Mon, 10 Sep 2001 21:57:49 +0000 |
| Subject: | Re: Stripslashes question. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66824@lists.php.net to get a copy of this message | ||
Hi,
Didn't help. I tried it before that is why I tried with addcslashes.
What I have done so far is :
I have cmp'ed the file before adding slashes and after and it seems that
it is eating up the \. Like Pñ\#as renders as Pñ#as after
stripingslashes but in the DB is Pñ\\#as. As far as I know it should
have converted back from \\ to a single \. By the way I am running
4.0.3pl1 Linux
Thanks.
Sean C. McCarthy
SCI, S.L. (www.sci-spain.com)
Jason Bell wrote:
>
> try addslashes instead. You might have better luck.
>
> ----- Original Message -----
> From: "Sean C. McCarthy" <smccarthy@sci-spain.com>
> To: "PHP General List" <php-general@lists.php.net>
> Sent: Monday, September 10, 2001 2:42 PM
> Subject: [PHP] Stripslashes question.
>
> > Hi all,
> >
> > What will be the way to convert binary information into a string which
> > will get into an SQL query for MySQL? I tried stripcslashes but I got
> > stucked with it. Any help?
> >
> > Thanks in advance.
> >
> > Sean C. McCarthy
> > SCI, S.L. (www.sci-spain.com)
> >
> > --
> > PHP General Mailing List (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
> >
> >
>
> --
> PHP General Mailing List (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