[PHP] Re: string parsing From: _lallous (elias_bachaalany <email protected>)
Date: 10/11/01

Description

string addslashes (string str)

Returns a string with backslashes before characters that need to be quoted
in database queries etc. These characters are single quote ('), double quote
("), backslash (\) and NUL (the NULL byte).

"Jscart" <jsscart <email protected>> wrote in message
news:20011011141755.71720.qmail <email protected>
> I'm seting up an ecommerce page and have the following problem
> After I post my data to the processor for verification they return the
> following
> string : "YAUTH bla bla ","bla bla bla ()",bla bla ()"
>
> When I recieve this string it is being cut-off at the first " here's my
code
>
> exec("$curl -d \"$data\" $url", $return_string);
>
> the return_string array is empty. How the hell can I remove or replace the
> quotes
> before it enters the array?
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>