Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sebastian Potasiak  >  External program executor  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: External program executor
Execute external programs passing given arguments
Author: By
Last change:
Date: 2 years ago
Size: 210 bytes
 

Contents

Class file image Download
<?php

include "external.class.php";

$stream External::program("./program""Test")
    ->
arg("argument1")
    ->
arg("argument2")
    ->
args(array("argument3""argument4"))
    ->
run();
    
print 
$stream;

?>