On Monday 01 July 2002 23:25, Jay Blanchard wrote:
> [snip]
> Thanks Jason, I fixed that and still does not work. So I am trying this;
> $curlline("curl -d
> \"name=myname&password=mypassword&btnsubmit=submit\" -s -o ".$listline."
> https://theserver.com/download/".$listline."";);
> print($curlline); <----this looks fine
> exec($curline);
> [/snip]
> The cURL statement has to be on one line, when I view the source the
> statement appears to be broken up, i.e.
> curl -d "name=myname&password=mypassword&btnsubmit=submit" -s -o
> 2002060704.zip
>  https://theserver/download/2002060704.zip
> OK, so how do I keep a long line from breaking up without inserting special
> characters? Maybe this why cURL is failing.

Is the line in which you are assigning $curlline, all on one line? If not, 
make it so.

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

Conquering Russia should be done steppe by steppe.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to