Results 1 to 3 of 3

Thread: ::Help:: Is there any script/program that will ...

  1. #1
    TopBucksTrixxxia
    Guest

    ::Help:: Is there any script/program that will ...

    Any program that will make a list of every file on your server & perhaps save it locally as a txt file?

    Thanks for any help!


  2. #2
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    Patricia..

    Give this a try..

    PHP Code:
    <?php 

    // PRINT DOMAINS 

    $dirhandleopendir("/www/virtual/alan/html"); 
    $number_of_links 0
    while(
    $filename readdir($dirhandle)) { 
    if (
    $filename != ".") { 
    if (
    $filename != "..") { 

    $filenames[]=$filename





    closedir($dirhandle); 

    sort($filenames); 

    for(
    $i=0$i count($filenames); $i++) { 
    print(
    "<FONT FACE=\"Arial, Helvetica\" SIZE=2>$filenames[$i]</FONT><BR>"); 


    ?>
    Save that into notepad and name it something like domain.php, upload it to your domain / domains and call it from the web, it *should* give you a listing of every file on any given domain you utilize it on

    Regards,

    Lee


  3. #3
    TopBucksTrixxxia
    Guest
    Thanks Lee,
    You're a sweetheart!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •