I would like to check if i have a correct url enterend

<?php
eregi("^http://[([0-9a-zA-Z-]+\.)+[a-zA-Z]{2,6}$", $websiteUrl);
?>

---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to