Checking for HTTP:// at the start of a string and more ////

From: Date: Sat, 01 Mar 2003 04:09:59 +0000
Subject: Checking for HTTP:// at the start of a string and more ////
Groups: php.general 
Request: Send a blank email to php-general+get-137664@lists.php.net to get a copy of this message
I would like to check for HTTP:// at the start of a string and for at least 1 . and a / at the end of a string. I have tried ereg, but the documentation is not too clear how to format. ------ Philip J. Newman. Head Developer info@philipnz.com +64 (9) 576 9491 +64 021-048-3999 ------ Friends are like stars You can't allways see them, but they are always there. ------ Websites: PhilipNZ.com - Design. http://www.philipnz.com/ info@philipnz.com Philip's Domain // Internet Project. http://www.philipsdomain.com/ newmanpj@philipnz.com Vital Kiwi / NEWMAN.NET.NZ. http://www.newman.net.nz/ philip@newman.net.nz ------ Quote: "God gave men both a penis and a brain, but unfortunately not enough blood supply to run both at the same time." - Robin Williams (Commenting on the Clinton/Lewinsky affair).

« previous php.general (#137664) next »