Login   Register  
PHP Classes
elePHPant
Icontem

bib_server

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Fabrizio Parrella
Name: Fabrizio Parrella <e-mail contact>
Packages: 8 Browse all classes by Fabrizio Parrella Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 36
All time rank: 18921 in United States United States
Week rank: 554 Down61 in United States United States Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download .zip .tar.gz  
This class implements a Web server written in pure PHP.

It starts listening to TCP connections on a given IP address and port.

When a client browser connects to the specified port, the class handles the connection request, forks a new process to retrieve request data, parse the request, and generates the response.

Currently it can handle requests for static files or requests to be handled by PHP scripts.

The class can write extensive debugging output to a log file.

  Classes of Fabrizio Parrella  >  bib_server  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: bib_server
Base name: bib_server
Description: Web server in pure PHP
Version: -
PHP version: 4.0
License: Freeware
All time users: 1347 users
All time rank: 2518
Week users: 1 user
Week rank: 2054 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
September 2007
Number 3

Prize: One subscription to the PDF edition of the magazine by PHP Architect
PHP is mostly used as a module of a Web server like Apache or Microsoft IIS. That does not mean that PHP could not be used to handle HTTP requests itself without relying on a separate Web server.

This class proves that it is possible to implement a Web server daemon written in pure PHP.

It makes possible to distribute PHP applications that run locally using a regular browser to access a local Web server implemented by this class.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Good (93.8%)
-
-
-
-
Not sure (53.1%)
1335
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagephp4x (1 file)
Files folder imagephp5x (1 file)
Plain text file _class_bib_server.inc.php Class Main Class

  Files  /  Files folder image php4x  
File Role Description
  Accessible without login Plain text file _class_bib_server.inc.php Conf. Config Class for php4

  Files  /  Files folder image php5x  
File Role Description
  Plain text file _class_bib_server.inc.php Conf. Config Class for php5

Download all files: bib_server.tar.gz bib_server.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.