Forum Moderators: coopster

Message Too Old, No Replies

How to get a list from a website?

Help Please!

         

ronsuave87

8:44 am on Feb 12, 2007 (gmt 0)

10+ Year Member



What I want to do is somewhat replicate the textbook list from this webpage except in my own code.

Does anyone know how to read the source? or how to get a list of the textbooks from the menu some how...?

Thanks.

eelixduppy

11:58 am on Feb 12, 2007 (gmt 0)



You can try a file_get_contents [us3.php.net] to retrieve the source for the page, then use regular expressions [us3.php.net] to grab the material you are speaking of.

Make sure that when you are using file_get_contents with a remote file that you have allow_url_fopen [us3.php.net] enabled in your php.ini file.

Good luck! :)