Re: CLI utility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Just a raw (manual) way to talk to a server.  You just need to
understand the way a HTTP request is sent to a server
(http://w3c.org/). Or if you know how to comminicate with what ever
protocol you use manually.

The reason to really do it with db-server  would be to test
to see if is actually running, for example for mysql:

  telnet localhost 3306
  5.0.15-standard�9i$t=tR,|;P_l%lu']~&^CConnection closed by foreign host.

or  smtp
  telnet localhost 25
  220 bagend.shire ESMTP Exim 4.54 Tue, 21 Feb 2006 20:01:16 -0800
  helo localhost
  250 bagend.shire Hello localhost.shire [::1]
  ...

or  pop3
  telnet localhost 110
  Trying 127.0.0.1...
  telnet: connect to address 127.0.0.1: Connection refused
  telnet: Unable to connect to remote host

oh yeah, i dont run a pop server :)

> 
> woh-woh-woh... what is this? never ever thought of such a method...
> where can i get
> more info about such stuff ? maybe apache-docs, but where? does it even
> work with other
> protocols/servers, maybe something like 'rtsp' or a db-server :) ?
> 
> >telnet localhost 80 | less
> >GET / HTTP/1.0
> >Host: localhost
> 

I usually use google's 'define:YMMV'


> Oh...  errr...  sorry... but, those abbrivations... can't get used to
> them... is there a glosary or such
> alike to find somewhere?
> >YMMV


Curt.
-- 
cat .signature: No such file or directory

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux