Forum Moderators: coopster

Message Too Old, No Replies

How to use PHP to test if pages still exists

I have 3 pages that I want to monitor

         

haryanto

9:09 am on Mar 25, 2004 (gmt 0)

10+ Year Member



Hi guys,

How can I use PHP to detect if a page is still in existence or not.

Say I have www.[anysite].com/page1.htm and
www.[anothersite].com/page1.htm and
www.[yetanothersite].com/page1.htm

How can I use PHP to detect if they exist?

carneddau

11:08 am on Mar 25, 2004 (gmt 0)

10+ Year Member



Hi,

Have a read of this thread:
[webmasterworld.com...]

You can modify that script to check the http responses for your urls.

Cheers