Slashdot Mirror


phpstack - A TCP/IP Stack and Web Server in PHP

Adam Dunkels writes "Following the trend of writing 'inappropriate' programs in the PHP scripting language, I have written a small TCP/IP stack and a web server entirely in PHP. It is extremely stripped down: the IP stack only implements the most basic functionality required for running the web server and the web server cannot handle pages larger than 1.5k. Nevertheless, the stack is able to support an unlimited number of simultaneous TCP connections and the web server has support for PHP scripting. A live demonstration server is up and running the phpstack software."

7 of 295 comments (clear)

  1. /.ed by mp3LM · · Score: 0, Redundant

    ..you do realize you just /.ed yourself, right? But I must say...that is a nice accomplishment, I'll definetly learn a lot from looking at the script.

  2. Crashed already! by ejbvanc · · Score: 0, Redundant

    Unlimited my ass!

  3. Oh, you're gonna get it now by Saint+Aardvark · · Score: 0, Redundant
    "The server only allows very small HTML pages and pictures, but it is able to support an unlimited amount of simultaneous connections."

    Hey! He can't say that! Sic 'em!

  4. Need To Update The Story by BRock97 · · Score: 1, Redundant

    "A live demonstration server is up and running the phpstack software."

    to:

    "A live demonstration server was up and running the phpstack software."

    DAMN YOU SLASHDOT EFFECT!!!!!

    --

    Bryan R.
    The price of freedom is eternal vigilance, or $12.50 as seen on eBay.....
  5. Up and running by FattMattP · · Score: 0, Redundant
    A live demonstration server is up and running...
    Not anymore!
    --
    Prevent email address forgery. Publish SPF records for y
  6. Re:That is a VERY limited system.... by Fearless+Freep · · Score: 0, Redundant

    [i]...yet it seems to handle this kind of stuff impressingly well.[/i] ..you say as the page loading icon spins and spins and spins... :)

  7. Wow, still up by IHateTCPA · · Score: 0, Redundant

    5033 visitors to it in 40 minutes and it is still up.