Jump to content

undefined functions


Recommended Posts

The PECL Windows binaries are available here - http://www.php.net/downloads.php

 

Download the PECL zip archive that matches your version of php, un zip it, copy the .dll that you want to use into your php extensions folder (ext for php5), and add a line to your php.ini file to load the extension.

Link to comment
https://forums.phpfreaks.com/topic/81733-undefined-functions/#findComment-415118
Share on other sites

what would that line look like?

 

Just like the other extension lines in the php.ini file, but with a name specific to the filter extension dll.

 

And which .dll file would I need

 

I don't know as I have never used the filter functions, but if you look at the file names I am sure you probably can find the right one.

Link to comment
https://forums.phpfreaks.com/topic/81733-undefined-functions/#findComment-415161
Share on other sites

$page = filter_sanitize_int($_GET['page']);

(line 19 in matches.php)

I also tried using caps, but that doesn't work either.

When I type filter and press ctrl+space in phpDesigner, it gives filter_sanitize_number_int as an option.

 

I found a line in php.ini loading php_filter.dll and I uncommented it, but there's no php_filter.dll in my extensions folder. Nor in the one I downloaded.

 

And the error:

Fatal error: Call to undefined function filter_sanitize_number_int() in C:\xampp\htdocs\league\matches.php on line 19

Link to comment
https://forums.phpfreaks.com/topic/81733-undefined-functions/#findComment-415618
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.