Thanks Friedger -- this one's been driving me nuts! Looking forward to the
day when I can write Curl code for the server as well (and skip php) -- I'll
keep dreaming : ).
-Chris
> PHP does it automatically. You have to replace \' by ' using something
like
>
> $queryrest = str_replace("\'", "'"
PHP does it automatically. You have to replace \' by ' using something like
$queryrest = str_replace("\'", "'", $query);
See also http://groups.yahoo.com/group/curlbreaker-l/message/708
Friedger
***
To unsubscribe from this list, send a mail to:
mailto:
Hi list,
Does anyone know how I can prevent the following string:
VALUES (Null, 'yyy', '', 'yyy', '', '', '', '', '')
from being escaped by php to:
VALUES (Null, \'yyy\', \'\', \'yyy\', \'\', \'\', \'\', \'\', \'\')
when its being passed as a HttpFormData parameter? Somewhere between