Search The Files by Category

Saturday, October 06, 2007
| 0 comments »

As a community of Saints committed to living the gospel, the Internet is a wonderful resource to help each other magnify our callings, to save time and stress, and to come together to learn and grow.



"The Files" are topic-based information such as links, ideas, suggestions, articles, talks, images...well, you get the idea, that are meant to assist you to magnify your calling, no matter what it is or amount of time as a member of the Church.

The Files by Category




    $ordner = "/home/webadmin/ldsfiles.com/html/thefiles/labels"; // must your path
    $handle = opendir($ordner);

    // initialize an array to hold the file names
    $path_files = array();

    while ($file = readdir ($handle)) {

    // add filename to the array
    $path_files[] = $file;

    // sort the file names array
    sort ($path_files);
    }
    foreach($path_files as $file) {
    $compl = "http://ldsfiles.com/thefiles/labels/".$file; // adapt to path
    // $compl = substr($ordner, 0)."/".$file; // adapt to path
    $shortfile = substr($file, 0, -4); // adapt to path
    echo "";
    }

    closedir($handle);

    ?>


0 comments