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.
PHP General 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]