cURL in an exec()

From: Date: Mon, 01 Jul 2002 14:37:00 +0000
Subject: cURL in an exec()
Groups: php.general 
Request: Send a blank email to php-general+get-104663@lists.php.net to get a copy of this message
I can do this; exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o cdrlist.html https://theserver.com/list.html"); but why can't I do this exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o ".$listline." https://theserver.com/download/ ".$listline.""); The only change is that I have now made the variable $listline available as there is a routine that steps through each file from the list. I can print the line out and it looks correct. Am I missing something? Thanks! Jay

« previous php.general (#104663) next »