OS: XP Pro
PHP Version 5.1.2

I trying to use PHP filters (http://www.w3schools.com/php/php_filter.asp) 
which are supposted to come installed as part of the PHP core.
On three servers running v5.1.2 I recieve: Fatal error: Call to undefined 
function: filter_var() in ...


Is there something in the php.ini that needs to be enabled?
TIA
Mark



<?php
 $email = "[EMAIL PROTECTED] mple.com";if(!filter_var($email, 
FILTER_VALIDATE_EMAIL))
 {
 echo "E-mail is not valid";
 }
else
 {
 echo "E-mail is valid";
 }

 ?> 

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

Reply via email to