Page 1 of 1

Reading html from other sites with php

Posted: Mon Oct 20, 2003 11:53 am
by clownbarf
I don't know where to start with this or what it's called. I want to take a top ten list from nascar.com from the source code and write the top ten to a file.
This will not be on any sites, just for my hal2000 to read this when asked for.

I got the part with getting all the code to a varible, and can even echo this our... where do I look for taking all the unwanted tags and keeps a certain section of the page that I want?

thanks

Posted: Mon Oct 20, 2003 5:21 pm
by qads
it is called 'web fetching', here are some tutorials..
http://www.hotscripts.com/PHP/Tips_and_ ... index.html

i havet read any of them myself so i dont know how good they are, but they should get you started.

have fun

Posted: Mon Oct 20, 2003 6:37 pm
by clownbarf
Great... thanks... Just what I needed