RE: [PHP] Executing Shell Commands.
| From: | Bryan Brannigan | Date: | Thu, 23 Jan 2003 14:05:45 +0000 |
| Subject: | RE: [PHP] Executing Shell Commands. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132832@lists.php.net to get a copy of this message | ||
I believe something like this would do it:
system('ls -l');
> -----Original Message-----
> From: scott [mailto:ScottLinux@mn.rr.com]
> Sent: Thursday, January 23, 2003 9:06 AM
> To: php-general@lists.php.net
> 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
>