hi
i have been trying to write a telnet client to a tn3270 IBM mainframe
database ( pericles.ipaustralia.gov.au:23 ) using fsockopen ...
i thought it wouldnt be that bad given i have done something similar
with usenet ..
however i cannot get it to work no matter what I do .. i just get a
: [EMAIL PROTECTED]
Wherewithal. Capture Creative Connections.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-Original Message-
From: brendan [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2001 04:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] telneting sockets help..
hi
i
, Inc. e: [EMAIL PROTECTED]
Wherewithal. Capture Creative Connections.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-Original Message-
From: brendan [mailto:[EMAIL PROTECTED]]
Sent: 19 December 2001 04:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] telneting sockets help
I'm in a smilar situation. I'm trying to telnet to a
RAS server using php and the process justs hangs. I
tried to telnet to other linux servers as well and the
result was same. fsockopen to other ports such as 21
or even 25 workds. It's just the port 23 that's giving
this strange problem.
So far
: [EMAIL PROTECTED]
Subject: Re: [PHP] telneting sockets help..
hi james,
thanks for your reply ..
i was able to connect ( i should have written that in the email) its
getting the info to flush to the screen that i cant do .. it just hangs..
so if you add
something like
while (!feof($fp
'');
flush;
}
return ($line);
}
print GetLine();
-Original Message-
From: brendan [mailto:[EMAIL PROTECTED]]
Sent: December 19, 2001 1:04 PM
To: [EMAIL PROTECTED]; James Cox
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] telneting sockets help..
hi
have you tried the client script at http://php.ca/manual/en/ref.sockets.php
??
this seems to (kind of) work ..
however i get a ton of warning messsages from php such as
Attempting to connect to '202.14.186.30' on port '23'...
Warning: socket_connect() expects parameter 1 to be resource, boolean
ROTECTED]
Subject: Re: [PHP] telneting sockets help..
hi james,
thanks for your reply ..
i was able to connect ( i should have written that in the email) its
getting the info to flush to the screen that i cant do .. it just hangs..
so if you add
something like
while (!feof($fp)) {
ec
8 matches
Mail list logo