PHP Classes

File: sitemap.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan   Create Sitemap   sitemap.php   Download  
File: sitemap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Create Sitemap
Generate of map of the files of a directory in XML
Author: By
Last change:
Date: 19 years ago
Size: 246 bytes
 

Contents

Class file image Download
<?php
   
/**
     * This file generates the outout of directory structure
     */
  
   
require_once('sitemap.inc.php');
   
define ('DIR_PATH', 'frd/');
   
   
$sitemap = new Sitemap(DIR_PATH);
   
$xmlContent = $sitemap->generateXmlSiteMap(true);
?>