★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/000514.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  Url/link checking in php3...?!

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Url/link checking in php3...?!
jvwissen
Junior Member
posted January 26, 2000 03:01 AM     Click Here to See the Profile for jvwissen     Edit/Delete Message Reply w/Quote
Hey all out there..!

I've got a f1 startpage. And now I'm working on a link checker to eliminate dead links...but I can't figure out how to do that....i've tried some scripts...but they didn't work at all...is there someone who can help me..?!..

Jr. <jvwissen@terbium.net>

Ulrik N
Member
posted January 26, 2000 06:52 AM     Click Here to See the Profile for Ulrik N     Edit/Delete Message Reply w/Quote
This is what I do...


$location = "http://www.comics.com";
if (!$oFile = @fopen($location,"r")) {
echo "<br>Unable to open remote file at $location.\n<br>Server may be down, or www address wrong...<br>\n";
}else{
do some stuff....
}


I guess you could do other things, but this workes..

------------------
regds..
-ulrik-

[This message has been edited by Ulrik N (edited January 26, 2000).]

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.