Using curl on command line PHP
Posted: Mon Mar 17, 2008 1:46 am
I have problem in using curl. The initialisation (curl_init()) runs fine and I can get the result from curl_exec() when I execute the script through web browser. But because I need to run the script as a cron, I need to run it on command line. And strangely I get an empty string when I execute curl_exec().
Any idea? Thank you.
Any idea? Thank you.