FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


ScanDir function problem





krazycapital
Why can't I use the scandir() function? I use it for a CMS I made and use all the time.
krazycapital
Before I forget, here is the error:
Fatal error: Call to undefined function: scandir() in filepath/filename.php on line 63
And I also tried CHMODing it. Not working still.
mathiaus
Please do not double post, use the edit button instead.

scandir() is for php5 while server 2 uses php 4.4.2.
We currently do not intend upgrading to php5 either as many scripts currently will not work with it.
krazycapital
Sorry. Is there any alternative functions to it? Or is there a way to have the function code and just have it at the top of the script, and call it that way?
EDIT: Nevermind. I found an alternative
Related topics
Header("Location: PROBLEM");
ASP Problem
SMTP problem
[HELP] PC PROBLEM (don't bind)
terrorism in israel
PHP Problem: Unable to execute ext. commands
A minor printing problem
javascript function not being seen
Password problem
(server 2) php function exif_read_data() not supported ?
problem with registration notify mod
Like and % Function Problem..
Redeclared function problem
Including file with same definition on Win & Linux
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.