Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Er. Rochak Chauhan  >  PHP Fancy Directory Browsing  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: PHP Fancy Directory Browsing
List the contents of directories in a Web page
Author: By
Last change:
Date: 2008-11-12 06:27
Size: 684 bytes
 

Contents

Class file image Download
<!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>