Accessing the Command Line From PHP
This tutorial will explain the different methods of accessing the system command line from a PHP script. Being able to run external programs can come in handy, and fortunately there are multiple functions that will do this. We will explain the differences betweeen these so you can choose the best one for your purpose. The functions covered are exec(), system(), passthru(), and shell_exec(), as well as escapeshellcmd() and escapeshellarg().
- Visit Site:
- Accessing the Command Line From PHP
- Filed in:
-
PHP / Tutorials & Tips / Development
- Platforms:
-

- Databases:
-
- Date Added:
- Feb 3, 2009
- Last Updated:
- Feb 3, 2009
License and Pricing Information
| Publisher site visits: | 75 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
- UltraMega Tech.
Other listings by this publisher
- Lock My Stuff
- Creating an Upload Progress Bar in PHP with APC
- Simple PHP Page Template System
- Creating a CAPTCHA in PHP with GD
- Creating a Calendar in PHP
- Creating a TinyURL Clone
- Creating a BBCode Parser
- Working With Time Zones in PHP
- Snippet: Autoloading Objects (PHP 5)
- Snippet: Converting Seconds to Readable Time (PHP & JS)
- 5 Tips for Writing Cleaner PHP Code
- Create a Slide-In Panel with jQuery
- Fetch Twitter Updates in PHP
- Generating (X)HTML Documents Using DOMDocument In PHP
- Modifying Templates Using DOMDocument In PHP
- Using MySQL Prepared Statements in PHP
- Add Records to a Queue with jQuery
- Maintain a Single Database Object in PHP 5 Using the Singleton Pattern
- 5 Basic PHP Security Tips
- Degradable Tabs With jQuery UI
- Basic Overview of Loops in PHP
- Default Form Values with jQuery
