|
|
|
|
|
| <?php
$file = $_POST['file'];
?>
<html>
<body>
<form name="source" action="source.php" method="post">
Enter a file name that resides on the server: <input type="text" size="25"
name="file">
<input type="submit" value="Show Source for this page!">
</form>
<ol>
<li>
<?php
ob_start();
show_source( $file );
$t = ob_get_contents();
ob_end_clean();
echo ereg_replace( "<br />" , "</li><li>" , $t );
?>
</li>
</ol>
</body>
</html> | | |
|
| A simple configuration file editor to ease you life in setting up php applications. Reads variables from a given file automatically and displays current value. New value will be written to file after submit. Categories : PHP, Filesystem, Regexps, Java Script | | | Simple way to replace a variable value in a .conf (.ini) file using a
webbrowser - the first stage of a complete universal configuration editor Categories : PHP, Regexps, Code Editors, Filesystem | | | Massreplace Categories : Filesystem, Regexps, Strings, PHP | | | Directory TreeView - File Manager & Explorer - FTP - Utility - PHP/HTML - Categories : PHP, Directories, FTP, Filesystem, HTML and PHP | | | Parse html (title :: meta) Categories : PHP, HTML and PHP, Regexps | | | include php3 files Categories : Filesystem, PHP, Apache, Web Servers | | | how to check if a string contains a letter from a different language? Categories : PHP, Regexps, Languages | | | Upload function using PHP's FTP abilities. Categories : PHP, Filesystem, FTP | | | Parsing Simple Template Files and Data Categories : PHP, PHP Classes, Templates, Regexps | | | grab directory listings into an array the example prints out each
subdirectory in the main dir - further work is to be performed on this one Categories : Filesystem, PHP, Directories, Search, Utilities | | | a file explorer for the web, filesystem php php3 files dirs directories pictures files windows linux system list ls scripts Categories : PHP, URLs, Directories, Filesystem | | | Disk Usage, uses UNIX du command. Categories : Complete Programs, PHP, Filesystem | | | A flat file counter Categories : PHP, Cookies, Filesystem, Beginner Guides | | | A PHP Script that shows how to use FTP to run a shell script, read two local files and update data in a database. Categories : PHP, Filesystem, FTP, Date Time, Databases | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | |
| |
| |
|