curL specific data from a webpage

135 views Asked by At

I have no experience with curL , need to find out how I can get weather info from a website and save it to a sql db , I have been able to echo the webpage using curL but thats it, the site is: http://www.weather.bm/forecastpublicextended.asp , I just want to capture the temperature from their.. another problem my intranet webserver is in a locked down enviroment meaning it has no ie access does curl execute client side, I assume it does any help will be appreciated as I am hitting my head against wall now.

1

There are 1 answers

0
Rob W On BEST ANSWER

Using a combination of curl and domdocument, you would then be able to (A) download the remote page, and (B) parse the dom document based off of selectors / paths.