Take a look at the exec(), passthru() and system() commands. Each takes a
command string as an argument. They differ in terms of what they do with the
command's output, and how they handle return values.
just watch what values you pass in to these commands - they're the easiest
way to open up a huge security hole in your application.
-----Original Message-----
From: Allan Hedegaard Hansen [mailto:allan_hedegaard@h...]
Sent: 07 September 2000 13:30
To: professional php
Subject: [pro_php] executing Linux commands
Is it possible to execute a Linux command from a PHP4 script.