Re: string parsing

From: Date: Thu, 11 Oct 2001 15:17:57 +0000
Subject: Re: string parsing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70808@lists.php.net to get a copy of this message
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 (#70808) next »