google for openssh or lsh. I dunno if you'd be able to input the password 
through PHP, but if not you could telnet over an SSH encrypted tunnel... Or 
if you have absolutely no worries about security you could use telnet, but 
that would be, IMHO, a Bad Idea(TM).


On Tuesday 23 September 2003 02:06 am, Nitin wrote:
> Hi all,
>
> I was wondering, if anyone can help me with running system commands from
> within php. Actually I have a script which deletes users from my database
> (which is of course MySQL), now I want to delete those users from system
> level also, as they are authenticated users of my OS also.
>
> Now, the problem is, that I'm running my MySQL server and web server on
> different machines. I can do whatever on remote DB server but how to run a
> system command on another machine. I know, it's possible to run system
> commands on local server by system(), but what about remote server?
>
> Any help will be highly appreciated.
>
> Thanx in advance
> Nitin

-- 
"Who controls the past controls the future. Who controls the present controls 
the past."

-George Orwell

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to