Scanning the content of some pages

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
frost20
Forum Newbie
Posts: 2
Joined: Mon Jun 08, 2009 12:25 pm

Scanning the content of some pages

Post by frost20 »

Hello everyone,

I would like to know if it possible to do a script that scan the content of some pages that has the same template to show the content.
-----------------
Example:
(page1.php)
name: Bob
number: 3
country: U.S.A

(page2.php)
name: Frost
number: 1
country: England
-----------------
I would like to save these informations to put them in a database.
Thanks people !
User avatar
mikemike
Forum Contributor
Posts: 355
Joined: Sun May 24, 2009 5:37 pm
Location: Chester, UK

Re: Scanning the content of some pages

Post by mikemike »

Is it plain text or in a <table>?
frost20
Forum Newbie
Posts: 2
Joined: Mon Jun 08, 2009 12:25 pm

Re: Scanning the content of some pages

Post by frost20 »

Pretty most of the informations are in a <table>

Here an example of what informations I would like to collect:
http://www.ic.gc.ca/app/ccc/srch/nvgt.d ... 1&app=sold

Thanks.
Post Reply