A web server in C- with PHP support

My previous post was a brief introduction to a web server and a python implementation of a simple web server.

However the implementation of a web server in C is not as easy as python, but with few lines of code, you can implement a simple web server!

Here is my code of a webserver that supports PHP. It accepts different file types including PHP, and serves the files to the client.


Below is an alternative simple non descriptive code which works fine in port 8000.



Popular posts from this blog

Getting started with Programming ESP8266- ESP07 modules

Sniffing GSM traffic with hackRF