hey guys please help me here; I want to create a database that collects daily temperature (specific location) data at a certain time of the day from the Met office website.( or any other weather website ) and present it in a excel spread sheet. i was planning on using CURL to retrive the data, any suggestions on how to do it?
Have you checked the CURL page on PHP.net? (http://php.net/curl) If yes? what's your question then? i don't see any real question here...
Once you get it using CURL, you'd need to parse the page -- some people might go for trying to use a regex, I'd suggest taking a look at PHP's DOMDocument handler to try and parse the data out that way. http://www.php.net/manual/en/domdocument.loadhtml.php Apart from that, Eric's right, not really seeing a question here.
My suggestion is that, once you get the content from the Met's site, regular expression might be the best way to try. It depends of what kind of data u want. Timing is done by cron job from your server anyway.
You can also use file_get_contents('http://yoururl.com') This way you don't need to learn curl. Although curl is easy to learn but using the above code is an easier alternative.