ChipmunkNinja
Ninjas are deadly. Chipmunk Ninjas are just weird.
About this blog
Marc Travels
Marc on Twitter
JustLooking on Twitter

Marc Wandschneider is a professional software developer with well over fifteen years of industry experience (yes, he really is that old). He travels the globe working on interesting projects and gives talks at conferences and trade shows whenever possible.

My Publications:

My book, "Core Web Application Programming with PHP and MySQL" is now available everywhere, including Amazon.com

My "PHP and MySQL LiveLessons" DVD Series has just been published by Prentice-Hall, and can be purchased on Amazon, through Informit, or Safari


ABCHKMPRaRoSTVW
xxxxx-xxx--xxxx

Popular Articles:


Top Tags:


Recent Comments:

macfallen siame wrote:

Marc this is an awesome article that i used for my configuration.I am am delighted that am able to s...
Posted to: Setting up, Configuring, and Using Kannel to send/receive SMS messages

junk yards wrote:

I found the reason 2 days ago (i was too bussy to update you).
The problem was that the UDHL was mis...
Posted to: Setting up, Configuring, and Using Kannel to send/receive SMS messages

Zack wrote:

Thanks! This really fixed my choppy video playback....
Posted to: 1080p MKV playback on Mac OS X (VLC)
Jul 16, 2006 | 05:34:57
Program Execution in PHP: exec, system, passthru, and shell_exec, oh my!
By marcwan

PHP is a sufficiently rich programming environment that it is not common that I truly need to execute external programs on the server on which it executes. However, every once in a while, this situation does come along, and for these, it is important to understand the options that PHP provides, what their differences are, and their relative strengths and weaknesses.

There are four primary choices for executing external programs in PHP:

  • The system function.
  • The exec function.
  • The shell_exec function or its syntactic analogue, the backtick operator, ( ` ).
  • the passthru function.
[Read Rest of Article]
Copyright © 2005-2008 Marc Wandschneider All Rights Reserved.