Reply to Re: How not to send headers?

Your name:

Reply:


Posted by Alvaro G. Vicario on 12/16/44 11:57

*** CptDondo escribió/wrote (Wed, 06 Sep 2006 10:12:12 -0700):
> I've been asked to port this to an ANSI terminal-type display,
> eliminating the web server and browser.

Headers are part of the HTTP protocol. Every piece of software that uses
HTTP *must* understand headers. So (as you mention) you must get rid of
HTTP and write your own server with your own protocol.

I haven't tested myself but this article describes how to create a PHP
script that listens in a TCP port:

http://www.litfuel.net/tutorials/sockets/sockets.php

You will find the full reference (as well as some self-explaining code
snippets) in the "Socket Functions" chapter of the PHP manual.


--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация