parse multiple pages in a file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
playwright
Forum Newbie
Posts: 20
Joined: Wed Jun 02, 2010 6:11 pm

parse multiple pages in a file

Post by playwright »

I want to parse multiple html pages in a php file.. The first url is like http://www.blablabla.php?t=123. The other pages are http://www.blablabla.php?t=123&page=2 ... http://www.blablabla.php?t=123&page=3 and so goes on..I believe this can be done with regex and a loop???Any idea about how the regex can be like?
User avatar
phdatabase
Forum Commoner
Posts: 83
Joined: Fri May 28, 2010 10:02 am
Location: Fort Myers, FL

Re: parse multiple pages in a file

Post by phdatabase »

Yes, it could be done that way. Remember... regex only as the last possible option.
Post Reply