string exec ( string command [, array &output [, int &return_val]] ) runs an external program : exec « Utility Function « PHP






string exec ( string command [, array &output [, int &return_val]] ) runs an external program

 
print exec("uptime");
  
  

Related examples in the same category

1.Executing External Applications Using exec()
2.Using exec() to Produce a Directory Listing