litewarez can you give some piece of code how to do it...
My current one,which is not calculating the duplicates (with no $total++ for every duplicate)
function RecurseFolderLister($d)
{
$BasePath = realpath($d);
$Storage = array();
if(is_dir($BasePath))...
Hi there !
I am with php 5.3.1.0 and it seems that i can't add php code in html pages.
I tried <html> <?php echo 'test'; ?> </html> but nothing happens.
It is from the php.ini or what ?
The txt files was empty so sorry for that..
But if i change to $filename it proving my above post...
C:\xampp\htdocs\downloads\fav\Administrator/entry100620-034822.txt(1)C:\xampp\htdocs\downloads\fav\New Folder/a.txt(1)C:\xampp\htdocs\downloads\fav\New Folder/entry100620-034822.txt(1)...
$entry_arrayz[ 'entry' ] is the field where everything will print.
I am using now :
function RecurseFolderLister($d)
{
$BasePath = realpath($d);
$Storage = array();
if(is_dir($BasePath))
{
$resource = opendir($BasePath);
while(false...
I've tried $entry_arrayz[ 'entry' ] = RecurseFolderLister('fav');
var_dump($entry_arrayz['entry']);
but it's the same...
Btw read my prev post if haven't (i edited it)..
So far so good...
I used :
$entry_arrayz[ 'entry' ] .= $Storage = RecurseFolderLister('fav'); asort($Storage); var_dump($Storage);
where $entry_arrayz[ 'entry' ] is the place where sorted $storage will show,but i get :
array(1) { ["entry100620-034822.txt"]=> int(1) }
Array
How...
error without last slash
Warning: opendir(fav....................................................................................................................................................................................................................................New Text...
I tried everything and gives errors.
Also i saw that it finds files in fav folder which are outside it (one level down).
Btw the folder is just 'fav/' and i want to be sorted in numeric and show the most 10..
opendir(fav/..login.php) [function.opendir]: failed to open dir: No such file or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.