cURL / Mailing Lists / curl-users / Single Mail

curl-users

I lost my double quotes!

From: John Eagle <j_eagle_at_yahoo.com>
Date: Thu, 19 Sep 2002 12:27:29 -0700 (PDT)

I send this command via PHP:
exec ("$curl -d $data --header 'Content-Type:
text/xml' $host ", $return_string);

I am sending in $data somthing like:
<?xml version="1.0" encoding="iso-8859-1"?>etc.
but the server sees:
<?xml version=1.0 encoding=iso-8859-1?>etc..

In other words I seem to have lost the "".

Any ideas?

Thanks John

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-19