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
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
פרייסז - השוואת מחירים בסופר
ZeroLag.com
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 : Execute a command to a string
Categories : PHP, Program Execution, Filesystem Update Picture
Olason Kjartan
Date : Dec 04th 2000
Grade : 2 of 5 (graded 1 times)
Viewed : 5848
File : No file for this code example.
Images : No Images for this code example.
Search : More code by Olason Kjartan
Action : Grade This Code Example
Tools : My Examples List

Submit your own code examples  Submit your own code examples 
 

This will actually print the contents of the dir command.

<?
$DirectoryList = `dir`;
echo "<pre>$DirectoryList</pre>";
?>



Force file download
Categories : PHP, Filesystem, HTTP, Program Execution
Single-file PHP news system with automatic folder structure creation
Categories : PHP, Filesystem, Arrays
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
Read DPI value from image with PHP
Categories : PHP, Graphics, Filesystem
Grab images from one or more URLs and save them to a specified local directory.
Categories : PHP, Filesystem, Strings, Arrays
The toll booth
Categories : PHP, Java Script, Filesystem
Save and restore files into postgresql database (PHP SCRIPT) PHP CLASS
Categories : PHP, Databases, PostgreSQL, Filesystem
Finds files on your site, uses UNIX find command.
Categories : Complete Programs, Filesystem, PHP
Creating a Language File
Categories : PHP, Beginner Guides, Filesystem
Functions to read a template file and fill in PHP variables. It will also fill in array variables, displaying parts of the template multiple times.
Categories : PHP, Variables, Filesystem
PHPBrowser - browsing linux file systems.
Categories : PHP, Linux, Filesystem
Massreplace
Categories : Filesystem, Regexps, Strings, PHP
Extended Get File List Function
Categories : PHP, Filesystem, Search, Directories
how can I read the entire contents of a file into a string?
Categories : Filesystem, Strings, PHP