|
-
Jul 16th, 2013, 01:27 AM
#3
Thread Starter
Addicted Member
Re: PHP List Files in a Directory
Thanks, Rossonero for your reply 
changing this line:
$directory = explode("\\", $path);
to:
$directory = explode(DIRECTORY_SEPARATOR, $path);
These lines also:
$directory = getFolderTree('..\temp');
$htmlTree = createTree($directory["temp"]);
change to:
$pathx = '/temp/';
$directory = getFolderTree($pathx );
$htmlTree = createTree($directory);
and it works!!
The taller the bamboo grows the lower it bends... 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|