WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Show Source with Line Numbers
Categories : PHP, Regexps, Filesystem Click here to Update Your Picture
Alex Salisbury
Date : Nov 09th 2002
Grade : Be the 1st to grade this Code Example
Viewed : 6468
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Alex Salisbury
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

<?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