run a command on a remote host
| From: | Ivone Uribe | Date: | Tue, 09 Dec 2003 22:44:28 +0000 |
| Subject: | run a command on a remote host | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172298@lists.php.net to get a copy of this message | ||
How can I run a command on a remote host wiht php?
I'm trying this line but nothing happen.
passthru("rsh rubella
/export/dat0/users/augur-se/bin/.upnotify -s
1045073262-82425_net2.nextelinternational.com -u
http://wap.peru.com -a -y D--- -i Location -n");
I try exec and system, too
But if I run this from the command line of my machine
the command run rightly.
rsh rubella /export/dat0/users/augur-se/bin/.upnotify
-s 1045073262-82425_net2.nextelinternational.com -u
http://wap.peru.com -a -y D--- -i Location -n
Thanks in advance,
Ivone
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/