telnet w/ php?
From: Jed Hunsaker (spam_at_lavadrop.com)
Date: 07/29/04
- Next message: Kannan S: "PHP5 problem"
- Previous message: Joseph Ellis: "Re: Discard POST variables."
- Next in thread: steve: "Re: telnet w/ php?"
- Reply: steve: "Re: telnet w/ php?"
- Reply: steve: "Re: telnet w/ php?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 20:26:23 -0700
If I run "telnet" from Windows XP like this...
telnet [host]
I get a command prompt...
C:\Documents and Settings\jed>
>From which I can type, say... "dir"...
C:\Documents and Settings\jed>dir
My question is this: How in the world do you make PHP do all of the above?
And how do you have PHP translate the results of "dir" from binary into a
readable string?
I've spent way too many hours of frustration trying to figure this out.
Please help!
Jed
P.S. My ultimate goal is to telnet into various local machines, rename
files, run a couple of .exe files w/ parameters, and get the results
displayed back to me in human-readable text. Each time I run the .exe
files, it could take hours of processing before it's done.
- Next message: Kannan S: "PHP5 problem"
- Previous message: Joseph Ellis: "Re: Discard POST variables."
- Next in thread: steve: "Re: telnet w/ php?"
- Reply: steve: "Re: telnet w/ php?"
- Reply: steve: "Re: telnet w/ php?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|