Tuesday, September 26, 2006

PHP sucks big time

I was trying to integrate Apache--PHP--mysql for a HR project at janagraha.

The problem is that the php documentation is very old...or I should say it works for lower versions of php and apache.

So here is a small TO-DO on how to go about integrating
1) Download Apache here. Apply your user friendly GUI knowledge of windows and get it installed.
2)Download php here.
3)Unzip in d:\php5.
4)Rename php.ini-recommended to php.ini
5)Add these lines to the top of httpd.conf
# PHP 5 Support
LoadModule php5_module "d:/php5/php5apache2_2_filter.dll"
LoadFile "d:/php5/php5ts.dll"
AddOutputFilter PHP php
PHPIniDir "d:/php5"

***Please note the locations used.
6) Finally process is over. Create a test.php.
Having say

copy to htdocs folder of apache.

7)RESTART APACHE. (hopefully no errors).
Run http://localhost/test.php

Worth a try though

Thursday, September 07, 2006

Google Releases Tesseract as Open Source

Google recently released Tesseract as open source. Originally developed at the HP Labs from 1985-1995, it has been vouched as one of the most accurate Optical Character Recognition (OCR) programs available. You can download Tesseract here.

Checkout one possible use of this technology here

Leaving the rest to imagination....