ID: 44976 User updated by: marcabconfederacy24 at yahoo dot com Reported By: marcabconfederacy24 at yahoo dot com Status: Open Bug Type: *General Issues -Operating System: FreeBSD randomplaza.com 6.3-ST +Operating System: FreeBSD PHP Version: 5.2.6 New Comment:
test Previous Comments: ------------------------------------------------------------------------ [2008-05-13 03:16:24] marcabconfederacy24 at yahoo dot com I forgot to mention, phpinfo says "mod_filter" is loaded. ------------------------------------------------------------------------ [2008-05-13 03:11:50] marcabconfederacy24 at yahoo dot com Description: ------------ I take the sample code directly from your website. This is not the first time sample code from it has not worked. http://us.php.net/manual/en/function.filter-var.php I have the latest PHP version, 5.2.6 I use "var_dump(filter_var('[EMAIL PROTECTED]', FILTER_VALIDATE_EMAIL));" Exactly what your website says. PHP 5.2.6 says "Fatal error: Call to undefined function filter_var()" I googled it and the old reason it should do that is on older PHP versions. But mine is 5.2.6. PS: I've had to so far do 20 tries to read your captcha and your site made me confirm this a million times, each time having to read a new one. I think I should buy captcha-reading software from that Chinese website as it reads better than humans. Reproduce code: --------------- var_dump(filter_var('[EMAIL PROTECTED]', FILTER_VALIDATE_EMAIL)); Expected result: ---------------- What it says at http://us.php.net/manual/en/function.filter-var.php Actual result: -------------- Fatal error: Call to undefined function filter_var() in /usr/local/www/[my website name removed]/www/register.php on line 172 [my website name removed] = I'd rather not post my website's name until it's ready to open. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44976&edit=1