Wednesday, July 25, 2007

PHP & CGI

Move on to write a PHP script for accessing the IO in my board. I have previously done the same thing using the CGI script. I still don’t see any major different between these two scripts since I just did a really simple thing. Both of them can be incorporated into the tiny web-server, thttp. Yes, PHP has rich set of features but comes with heavy price. It consumes 4M of memory space compared to 66K of memory space by CGIC library. Need to further strip down the library size.