Catalin Trifu wrote:
Hi,
Why are you displeased with apache ? After all, the 60% share market
of apache must mean something :)
Catalin
Fredrik Tolf wrote:
Hi!
I've begun to be more and more displeased with Apache lately, so I've
been thinking of writing my own HTTP server instead. I still want PHP
support, but writing a new SAPI for PHP seems like overkill.
Therefore, is it possible to use PHP from the command line, but still
enable some HTTP-server-only stuff, like GET and POST variables,
cookies, session management, file uploads, and so on? I haven't been
able to find any docs on doing that, but I'm thinking that it should be
possible.
So, can someone either point me to some docs in this, or, lacking such,
give me a short intro to it?
Thanks for reading!
Fredrik Tolf
All of the features you mentioned are those provided for you by Apache,
barring the session management. If you really want to write your own
http server then maybe take a look at the Apache source code. It will
either give you some good pointers or make you realise what a huge task
you are undertaking...
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php