PHP System command - need help
| From: | Travis Kriza | Date: | Tue, 30 May 2000 20:49:38 +0000 |
| Subject: | PHP System command - need help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-667@lists.php.net to get a copy of this message | ||
Hello. I'm trying to issue a system command via a php3 web page that runs a script.
Unfortunately, the script seems to bomb out ( it triggers a secure copy and fails to create a SSH
directory ). I'm trying to find out what user it is executing this as and remedy it so the
script will operate properly. The script functions fine as run through my machines cron, so if
there is a way to execute a command from a php page as root, I'd appreciate knowing how to do
that as well. Any help is appreciated.
Travis