Fatal error: Call to undefined function filter_var() in /var/www/html/rss2full/makefulltextfeed.php on line 45

Asked by CyberGuy

Hi, I'm getting this error when I try and pass a RSS feed makefulltextfeed.php to and I can't seem to find the function filter_var in any of the code or libraries.

Fatal error: Call to undefined function filter_var() in /var/www/html/rss2full/makefulltextfeed.php on line 45

I installed using bazaar and everything looks ok, unless I'm missing something :)

Question information

Language:
English Edit question
Status:
Solved
For:
Five Filters Edit question
Assignee:
No assignee Edit question
Solved by:
Keyvan
Solved:
Last query:
Last reply:
Revision history for this message
Best Keyvan (keyvan) said :
#1

You're probably using PHP 4 or an older version of PHP 5. That's a built-in function as of PHP 5.2: http://php.net/filter_var

Revision history for this message
CyberGuy (ralphl-cyberpods) said :
#2

Thanks k1m, that solved my question.