File Genie PHP Support Product Page
Solved
empty delimiter and solution
Reported 05 Nov 2008 17:59:05
2
have this problem
05 Nov 2008 17:59:05 mike hall posted:
there is a small bug in the incFileGenie.php file that appears if the folder being listed contains files with just an extension name (for example .htaccess, .ftphelp or similar). The files do not get listed which is OK but the browser outputs a warning message which of course spolis the web page.The solution is to put @ just before the stristr function on line 113, the resultant line should look like this:-
if ($this->allowedExtensions == "" || ($this->allowedExtensions != "" && @stristr($this->allowedExtensions, $extension))) {
Hope this helps others with a similar problem
Replies
Replied 06 Nov 2008 15:57:07
06 Nov 2008 15:57:07 Miroslav Zografski replied:
Hi Mike,
Thanks for the contribution.
Regards,
M.Zografski
-----------------------------------
DMXZone.com Support Team
-----------------------------------
Thanks for the contribution.
Regards,
M.Zografski
-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 15 Sep 2010 04:59:46
15 Sep 2010 04:59:46 Jeffery Davis replied:
Thanks for your fix Mike, that solved one of my problems. Now if I can get my images to show up I will be doing fine.
It's to bad that we have to find fixes to problems that support should give.
Thanks again Mike
Jeffery Davis
It's to bad that we have to find fixes to problems that support should give.
Thanks again Mike
Jeffery Davis
Replied 15 Sep 2010 09:54:25
15 Sep 2010 09:54:25 Miroslav Zografski replied:
Hello Jeff,
Yes and that is why this forum exists.
Regards,
Yes and that is why this forum exists.
Regards,
Replied 11 Dec 2012 14:47:18
11 Dec 2012 14:47:18 Nicolas K. replied:
Great, thks Mike
Nikko
Nikko