Brent --

...and then Brent Clark said...
% 
% Does anybody know if theirs a function or something for php that when I
% click a button it automatically sshes into a box runs a script and then
% exits? Ive seen it been done in java but php would be better.

If you want to connect from the *server* running php to some other box,
just use a system() call (once, of course, you have set up the keys so
that you can pop over with no password).  If you want to connect from the
PC running the browser, then you'll at least need an ssh program on your
box, and that java version may have implemented that connection for you.


% 
% Kind Regards
% Brent Clark


HTH & HAND

:-D
-- 
David T-G
[EMAIL PROTECTED]
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to