RE: [PHP] cURL in an exec()
| From: | Jay Blanchard | Date: | Mon, 01 Jul 2002 15:10:50 +0000 |
| Subject: | RE: [PHP] cURL in an exec() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104673@lists.php.net to get a copy of this message | ||
[snip]
> but why can't I do this
>
> exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o
> ".$listline." https://theserver.com/download/
> ".$listline."");
extra space here? ----------------------------^
I think you've got something extra rather than missing :)
[/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);
Sill no joy in Mudville. ;^( Maybe this is why I am going grey up top...
Thanks!
Jay