Tuesday, November 10, 2009

How will you extract text from PDF

Option 1:
The best solution AFAIK is to use xpdf :
http://www.foolabs.com/xpdf/download.html

under linux just do :
apt-get install xpdf-utils
command line : pdftotext

Then in php you execute the command and get back the text.

Option 2:
http://www.pdflib.com/products/tet/

It has a compiled library that you call within your PHP code which eliminates the need to call command line executables and parse the result.

Option 3:

Use Zend Framework

Enjoy Programming !!!

Saturday, October 31, 2009

Easiest way to make new theme for Wordpress

The easiest way I found to make a new theme for Wordpres is by using theme sandbox .

Simply install this theme, and customize it according to your requirement, use your css and make changes in template files.

Enjoy Programming !!!

Wednesday, August 19, 2009

MySql storage requirements

Hello friends,

Recently I needed to understand the storage requirements for the data types available in Mysql for Social Networking Site.
I found this link really useful....

http://dev.mysql.com/doc/refman/5.1/en/storage-requirements.html

Enjoy Programming !!!

Thursday, August 6, 2009

PHPBB3 Integration

Hello friends

I have just worked on PHPBB3 integration for the social networking site. I used the oops for this and build a single class which contains all functions needed for integration.

I have posted that class file and an example file in "phpclasses.org". Below is the link:

http://www.phpclasses.org/browse/package/5472.html


Enjoy Programming !!!

Tuesday, June 23, 2009

Remove accents(replace special entites with normalized characters)

function removeaccents($string)
{
return strtr($string,
"ŠŒŽšœžŸ¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝß
àáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ",
"SOZsozYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy");
}

Enjoy Programming !!!

Thursday, May 14, 2009

Friday, March 27, 2009

Friday, March 20, 2009

Addinng new elements in form at run time using DOM

Hello Friends

I was stuck with the problem for adding form elements at run time which needed to submit content without using AJAX

Then I read an article from the following link
Its really a nice article, if you wish to play with the code or wanna to learn how to write beautiful code in javascript, go through this article.

http://www.dustindiaz.com/add-remove-elements-reprise/

Enjoy Programming !!!

Wednesday, February 25, 2009

PHP Development tool for Linux

From last some months I was looking for better PHP Development tool for Linux. Then I come to know about "Eclipse PHP Development Tools" from the Zend's monthly newsletter. Its really a good tool to hang out with programming in PHP.
Link for this tool on Zend is http://www.zend.com/en/community/pdt

Enjoy Programming !!!

Saturday, February 14, 2009

Open source

Some words I read from the magento guy(his name is Moshe) "I would love to change the world, but they won’t give me the source code."
Enjoy programming !!!