The guestbook in my website is now around 85 pages or so with 6 entries in each page. The pages are maintained by another company that puts banners in every page.
Now that i have my own server i want to eliminate the banners on the guestbook pages and be able to store all the guestbook entries in my own database.
Since i dont have access to their database the only way to save the guestbook is to parse the 85 pages of html and take out the needed information such as name, website, comments etc for each user that has signed the guestbook.
I want to write a script in php that can do this but i am not sure how. Can someone reply with the fastest way to do this and what functions they would use for every step.
open file
store in string
take out whitespaces
...
....
....
????????
Thank you very much.
ed
edspace@home.com