<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>PHP Fancy Directory Browsing :: Online Demo</title> <link rel="stylesheet" type="text/css" href="style.php" /> </head><body> <?php $dirName="PATH_TO_WEB_FOLDER"; require_once("PhpFancyDirectoryBrowsing.inc.php"); $phpFancyDirectoryBrowsing = new PhpFancyDirectoryBrowsing($dirName, "vista"); /* $result=$phpFancyDirectoryBrowsing->getFancyDirectoryInfo(); for ($i=0;$i<count($result);$i++){ echo $result[$i]; } */ $phpFancyDirectoryBrowsing->showDirectoryBrowsing(DIR_FIRST); ?></body></html>
|