Forum Moderators: coopster

Message Too Old, No Replies

capturing the html of a web page?

assisting clients by eliminating duplicate data entry

         

meingallsphp

7:59 pm on Dec 9, 2006 (gmt 0)

10+ Year Member



Is there a way to capture the html of a web page using PHP? We have clients who would like to have us capture data from their websites and put it in our database without their having to re-key all the data, so when they give me their url, I would like to capture the data on their pages.

Does anyone know how I can do this?

Thank you,

Mel

coopster

1:03 am on Dec 10, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There are a number of ways to accomplish this task. If you want to do so using PHP the easiest way is to use file_get_contents() [php.net].