Re: string parsing

From: Date: Thu, 11 Oct 2001 14:27:24 +0000
Subject: Re: string parsing
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-70812@lists.php.net to get a copy of this message
ok where in my code would that go? in the exec statemnet? like this exec("$curl -d \"$data\" $url", $return = addslashes('"',$return_string)); "_lallous" <elias_bachaalany@yahoo.com> wrote in message news:20011011142007.75938.qmail@pb1.pair.com... > 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@my-deja.com> wrote in message > news:20011011141755.71720.qmail@pb1.pair.com... > > 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? > > > > > >

« previous php.general (#70812) next »