Hello jay, Jay try just to execute php <yourfilename> And see what is done. For example i have problems with execution read my e-mail in the list.
Wednesday, July 3, 2002, 4:56:39 PM, you wrote: jbnc> [snip] jbnc> As a matter of fact, when viewing the source (which should display properly jbnc> if word wrap is off in Notepad) the line appears to be broken up. I have an jbnc> idea...write the line to a file then open the file and get the line for jbnc> exec()...blabbering now, must go... jbnc> [/snip] jbnc> I have fixed many things and had many great suggestions pointed my way, I jbnc> appreciate all of it! So to state the problem in the light of this new day jbnc> here is what I have; >>From the command line this works perfectly; jbnc> curl -d "name=myname&password=mypassword&btnsubmit=submit" -s -o jbnc> cdrlist.html https://theserver.com/download/list.html jbnc> Using exec() (or shell_exec(), or others in the family) like this; jbnc> exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o jbnc> cdrlist.html https://theserver.com/download/list.html"); jbnc> does not work. I have made sure that the output of the exec() is all on one jbnc> line through many tests. I have placed the command line arguements in jbnc> variables and re-done the exec() call as many ways as I can think of. Is jbnc> anyone aware of any problems with exec() that may be causing this behavior? jbnc> Any insight would be grandly appreciated. jbnc> Thanks! jbnc> Jay -- Best regards, Latex mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php