Re: Passing a Form parameter to PHP

2003-03-19 Thread Chris Banford
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("\'", "'"

Re: Passing a Form parameter to PHP

2003-03-19 Thread Friedger
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:

Passing a Form parameter to PHP

2003-03-19 Thread Chris Banford
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