Re: cURL in an exec()

From: Date: Mon, 01 Jul 2002 15:02:06 +0000
Subject: Re: cURL in an exec()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104669@lists.php.net to get a copy of this message
On Monday 01 July 2002 22:37, Jay Blanchard wrote: > 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.""); extra space here? ----------------------------^ > 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? I think you've got something extra rather than missing :) -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Do you think that illiterate people get the full effect of alphabet soup? */

« previous php.general (#104669) next »