Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 106 | All time: 9,705 This week: 47 |
Version | License | PHP version | Categories | |||
index-file 1.0.3 | MIT/X Consortium ... | 5.2 | PHP 5, Files and Folders |
Description | Author | |
This is a simple class that can initialize a directory with a template index file. |
<?php
// include the class file
include( strtolower( 'IndexFile.class.php' ) );
// a directory to place the new file inside
$workspace = realpath( './workspace' );
// static call to create new file
IndexFile::create( $workspace );
|
Files (4) |
File | Role | Description |
---|---|---|
example.txt | Example | An example of how to use the IndexFile class. |
indexfile.class.php | Class | IndexFile class file |
IndexFileTemplate.php | Data | The html5 template file |
readme.txt | Data | Read me file |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.