Nadger Posted July 6, 2012 Share Posted July 6, 2012 I have just created script 13.3 - upload_rtf.php but the finfo function is not a recognised function when i try to run the script. I have check my version of PHP and it 5.3.8. i use xampp so was an all in one installation. I have googled the issue and all the information i get advised that it should work for 5.3 and above! any ideas as to why mine wouldn't be working? Link to comment Share on other sites More sharing options...
Larry Posted July 7, 2012 Share Posted July 7, 2012 Good detective work so far, but could you post the exact error message you're getting? Link to comment Share on other sites More sharing options...
fingers Posted April 25, 2014 Share Posted April 25, 2014 I have had the same problem. The error messsage is: Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\larry\13\upload_rtf.php on line 18 I have activated the fileinfo extension.... extension=php_fileinfo.dll ....but without success. Any help appreciated. Gary Link to comment Share on other sites More sharing options...
Larry Posted April 25, 2014 Share Posted April 25, 2014 What version of PHP are you running? And have you confirmed that the Finfo extension is enabled using a phpinfo() script? Link to comment Share on other sites More sharing options...
fingers Posted April 29, 2014 Share Posted April 29, 2014 Hi Larry Here's what phpinfo() returns. fileinfo support enabled version 1.0.5 It's PHP version 5.4.16 Am I looking at the right thing? Thanks Gary Link to comment Share on other sites More sharing options...
Larry Posted April 30, 2014 Share Posted April 30, 2014 Yeah, that does all look correct. And you're still getting that error message? Link to comment Share on other sites More sharing options...
fingers Posted May 2, 2014 Share Posted May 2, 2014 I've just tried it again and it worked this time. Strange things these computers. Thanks Larry Link to comment Share on other sites More sharing options...
Larry Posted May 2, 2014 Share Posted May 2, 2014 Yes, strange indeed. Glad it's working now, though! Link to comment Share on other sites More sharing options...
Recommended Posts