How to check the validity of a URL

From: Date: Thu, 05 Jul 2001 06:41:42 +0000
Subject: How to check the validity of a URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56270@lists.php.net to get a copy of this message
Hello: I would like to know if there's any routine to check if a URL is valid, my purpose is have all the links on my web in this form: http://www.myweb.com/checker.php?url=http://www.someurl.com and if http://www.someurl.com is invalid, redirect the user to a friendly page and send me a mail. Is this possible? Best Regards. ------------------------------------------------ QaDRAM, RAD development for the WEB http://www.qadram.com VCLCrawler.com, your VCL search engine http://www.vclcrawler.com W2Kwm, Windows 2000 interface for XWindow http://www.vclcrawler.com/w2kwm/index.htm ebnoud.com, El Boletín No Oficial de Usuarios de Delphi http://www.ebnoud.com

« previous php.general (#56270) next »