<?php
    $result = `ls -al`;
    var_dump($result);
    $result = `free`;
    var_dump($result);
?>
----- Original Message ----- 
From: "Matthew Tedder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 1:50 AM
Subject: [PHP-DB] Execution of non-PHP code from within PHP


> 
> Using PHP, how can I spawn a process and execute non-PHP code 
> off the console?
> 
> --Matthew
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to