Re: Re: `pwd` - what does this mean?
| From: | David Robley | Date: | Wed, 15 Aug 2001 07:51:47 +0000 |
| Subject: | Re: Re: `pwd` - what does this mean? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62787@lists.php.net to get a copy of this message | ||
On Wed, 15 Aug 2001 16:25, Scott Mebberson wrote:
> I typed it on my server (SunOS 5.7) and it said, it returns the current
> working directory.
>
> So this is a unix command executed from PHP?
>
> Is there any other useful unix commands which can be executed from PHP?
> Does anybody have a list?
>
Well there's the Read Manual command, rm :-)
But seriously, you can execute _any_ operating system command (that the
webserver user has rights to) with exec(), system() or backticks.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
"I wish I had something to write with," Tom said pensively.