Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi All, Is there any way to chec 1

Status
Not open for further replies.

craigey

Technical User
Apr 18, 2002
510
GB
Hi All,

Is there any way to check if a website / link exists and return the results to an error message or write a table on to a html page. EG

PAGE STATUS

OK
OK
FAILED
OK

How would I integrate this into a html page? Also how would i install the PHP? I have no idea of how to use or incoporate PHP. So please be clear and patient with me!

Thanks!
 
if an URL exists or not, just do this:

if(file(" // URL EXISTS

to install, see this faq434-1445

To learn php just google for PHP tutorial and you will find some good tutorials.
Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top