I believe something like this would do it:
system('ls -l');
> -----Original Message-----
> From: scott [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 23, 2003 9:06 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Executing Shell Commands.
>
>
> Hello,
>
> Does anybody know how to execute a shell command from PHP on a Linux
> system?
>
> Thanks,
> Scott
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php