You can send mail using PHP's mail() function.
On windows this works with regular SMTP (mail server),
on UNIX it executes a binary (local delivery agent) that
may handle the message as desired.
If you really want to sent through a telnet service, you can
fsockopen() to the telnet server an
Hi,
you can find all what you want on the following url :
http://phpclasses.upperdesign.com/browse.html/class/2/
Personnaly I use the SMTP class from Richard Heyes
Laurent
the attached file implements a minimal telnet client and is
free to use.
re,
tc
On Wed, Dec 19, 2001 at 02:16:36PM -0800, Chris Lee wrote:
> if I nc to my server on port 23 I get the same thing. ie there is nothing
> wrong. your going to have to emulate the telnet protocal now,
if I nc to my server on port 23 I get the same thing. ie there is nothing
wrong. your going to have to emulate the telnet protocal now, thats just the
connect string.
--
Chris Lee
[EMAIL PROTECTED]
"Kancha" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> The following co
>
> Hi Bas!
>
> SSH is possible but complicated.
>
Not really, just create a tunnel...
-Sterling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
Hi Bas!
SSH is possible but complicated.
For telnet, simply use fsockopen() (default telnet port is 23).
This returns a filepointer so you can read/write like as a regular file.
greets,
Bas van Rooijen
On Mon, 17 Dec 2001 17:28:04 +0100, Bas van Schaik wrote:
>Hello everybody!
>
>I need so
arren Vail
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Telnet and PHP
Instead of performing a send for each stroke, the user code type in a whole
string in a text box, and then submit that string. I have found this code at
http://www.phpbuilder.com/mail/php-general/2001051/1479.php:
sock = fsoc
23);
echo $tn->read_till("ogin: ");
$tn->write("admin\r\n");
echo $tn->read_till("word: ");
$tn->write("thieso\r\n");
echo $tn->read_till(":> ");
$tn->write("ps\r\n");
echo $tn->read_till(":> ");
echo
By "active user input", I would assume that you mean every time the user
makes a keystroke, the keystroke is sent to the host machine. This is not a
characteristic of html which only sends information to the host machine when
some form of submit is clicked. The advantage of the applet for this s
If you are just looking for something better than the ms telnet program,
look at http://www.chiark.greenend.org.uk/~sgtatham/putty/. it is so much
better than telnet. I don't know if that is what you mean, though.
Jeff
""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
there's fsockopen from which you might make a telnet client, methinks, but
you'd have to know the protocol etc...
look for it at the manual.
Matt Friedman
Spry New Media
http://www.sprynewmedia.com
Lead Programmer/Partner
email: [EMAIL PROTECTED]
phone: 250 744 3655
fax: 250 370 0436
- Ori
I've been messing with popen and telnet recently and I can see the machine connect
and show a response but I never get to a login prompt. I'll be fiddling with this
some more, maybe we can work on it together?
Julia
Quoting Brandon Orther ([EMAIL PROTECTED]):
> Hello,
>
> Is there a way to t
12 matches
Mail list logo