php_novice2007 Posted June 16, 2007 Share Posted June 16, 2007 Hi, I'm thinking of learning to write my own web fetching script in PHP.. does anyone know any good tutorial that teaches how to do this? I tried google, but all the links that I clicked on seems to go to no where... :S Thanks! Quote Link to comment Share on other sites More sharing options...
trq Posted June 16, 2007 Share Posted June 16, 2007 Fetching what? Quote Link to comment Share on other sites More sharing options...
php_novice2007 Posted June 16, 2007 Author Share Posted June 16, 2007 I want to go to this site http://www.weatherzone.com.au/station.jsp?lt=site&lc=61366&list=ob and extract the time, wind dir, wind spd, wind gust, and tmp values from the table. I want to store the data in an xml file or mysql table.. Thanks Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted June 16, 2007 Share Posted June 16, 2007 well unless the data is open source etc.... isnt there copyright? Quote Link to comment Share on other sites More sharing options...
php_novice2007 Posted June 16, 2007 Author Share Posted June 16, 2007 I just read the condition of use and it says I'm allowed to download a copy for my own use. So I'm guessing its alright if I'm working on a local machine? Quote Link to comment Share on other sites More sharing options...
chigley Posted June 16, 2007 Share Posted June 16, 2007 http://www.php.net/file_get_contents Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.