PHP Classes

abrowser show specific folder

Recommend this page to a friend!

      ABrowser Class  >  All threads  >  abrowser show specific folder  >  (Un) Subscribe thread alerts  
Subject:abrowser show specific folder
Summary:only show a specific folder
Messages:3
Author:Zehp
Date:2009-05-10 06:04:51
Update:2009-05-26 20:11:35
 

  1. abrowser show specific folder   Reply   Report abuse  
Picture of Zehp Zehp - 2009-05-10 06:04:51
Hello, there is a way to do abrowser list only a specific folder, instead all the folder? Im trying figure out, but it didn't work.
Thanks

  2. Re: abrowser show specific folder   Reply   Report abuse  
Picture of George Clarke George Clarke - 2009-05-10 13:32:15 - In reply to message 1 from Zehp
Normally, the abrowser is installed in the highest directory or folder that will be browsed. It will normally browse all the subdirectories of that folder. So abrowser will not let you go up in the directory tree. If you do not want to browse any subdirectories then you can find this code in the abrowser.php file:

print "<table border='1' width='100%'>\n";
print "<tr valign='top'>";
print "<td valign='top'>\n";
print "Directories<br>";
$dr->showDirs(TRUE);
print "<br>\n";

if($edit<>""){

and comment out three lines like this:

print "<table border='1' width='100%'>\n";
print "<tr valign='top'>";
//print "<td valign='top'>\n";
//print "Directories<br>";
//$dr->showDirs(TRUE);
print "<br>\n";

if($edit<>""){

Assuming abrowser is installed in the folder you want to look at, it will not display the subdirectory link list and will not be able to go into those folders.

I hope this works for you.
George Clarke


  3. Re: abrowser show specific folder   Reply   Report abuse  
Picture of Zehp Zehp - 2009-05-26 20:11:35 - In reply to message 2 from George Clarke
Thanks George, works great!
I have another question. Where can i edit the max_file_size to upload?
I did it here on abrower.php
$max_size=2048*100;

But it still wont let me upload 1mb images file. My php.ini is configured with
;Maximum allowed size for uploaded files.
upload_max_filesize = 64M

Thanks