Fatal error: Call to undefined function filter_var() in ...

Alles, was PHP betrifft, kann hier besprochen werden.

Fatal error: Call to undefined function filter_var() in ...

Postby byron » 18. July 2007 03:28

Hi All,

I set up XAMPP on Windows XP Prof.

A function filter_var() is invalid in my environment. Is there anyone can give some hints?

Thanks in advance.

Regards

Byron
byron
 
Posts: 2
Joined: 18. July 2007 03:24

Postby Mätes » 18. July 2007 15:11

check the php-version with

<?php
phpinfo();
?>

Manual:
filter_var
(PHP 5 >= 5.2.0, PECL filter:0.11.0)
filter_var — Filters a variable with a specified filter
....

only available with php 5.2.0 or higher

solution: try a newer xampp version:
http://www.apachefriends.org/en/xampp-windows.html

ma
User avatar
Mätes
 
Posts: 142
Joined: 13. April 2006 09:34
Location: kölle

Thanks for your help

Postby byron » 19. July 2007 01:12

Hi Mates,

Thanks for your help and my PHP is 5.1.4, which does not support Filter functions.

I have downloaded the latest XAMPP. Do I have to remove the previous version if I want to only keep one version XAMPP? Or can I just perform an overwrite installation?

Thanks and regards,

Byron
byron
 
Posts: 2
Joined: 18. July 2007 03:24


Return to PHP

Who is online

Users browsing this forum: No registered users and 7 guests