I wanted to write a little XML fetcher/parser that I'll launch via cron. on my Ubuntu 12.04 desktop. I wanted to use CLI PHP and curl, since I'm familiar with it and already have scripts running that do similar tasks on webservers I maintain.
I only need PHP support via CLI, I won't be using a browser, so Im thinking I dont need Apache, but it also seems that the PHP5-curl package does not provide curl access to the php-cli package...
Anyone had any luck using curl via a CLI php script? If so, what do I need to do ?
oh, ps I also prefer curl over the XML & simpleXML function methods since curl can easily navigate the proxy servers I am likely to be dealing with.
Any insights would be greatly apreciated.
Bookmarks