June 23rd in PHP Scripts by .

PHP script to convert text string to image

PHP script to write email address into a image

I was after a php script that dynamically converts text to image and finally i decided to code on my own. It also does convert small length text to image like names, emails etc..

This script automatically calculates the width of text …

May 25th in PHP Scripts by .

Retrieve select box value from database using PHP

Retrieve select box value from database using PHP

I have been in many situations in designing a html form where i want the value stored in database selected in select box when editing the user data.

For example if i have colors like Red, Green, Blue, Yellow, Violet shown in selectbox and …

May 24th in PHP Scripts by .

how to store and retrieve checkbox value in php?

how to store and retrieve checkbox values in mysql database with php

I was working on a project and i had landed in an awkward situation, where i have to save the tick box values in a database and once done, i had to retrieve those values and present it to …

April 27th in PHP Scripts by .

Cakephp vs CodeIgniter – which is best php framework?

Today i went through some of the easy to use PHP frameworks, ideal for developing rapid php applications and websites with ease of use.

I did a study on following php toolkits and i was pretty impressed with codeigniter and it is the best easy to use php framework i …

April 22nd in PHP Scripts by .

[Fix] Fatal error: Unable to read 25447 bytes in index.php

I purchased a commercial software which needed Zend optimizer since it was encoded one. I uploaded all my scripts to my linux server and suddenly i got this error when accessing the site.

Fatal error: Unable to read 25447 bytes in index.php

I did have Zend optimizer installed in our cpanel server …

March 23rd in PHP Scripts by .

Single/double quotes causes error in mysql INSERT query!

Today i learned a valuable lesson despite being a good mysql/php programmer i failed to follow the basics. My client kept on complaining that there was an error popping up in my website whenever she submitted a form. I wasnt sure what it is and my client was kind enough …

March 19th in PHP Scripts by .

Alternative to smarty templates_c folder 777 permission!

i have often used smarty with php as it separates the application from the presentation. If you use smarty then it is a must to set 777 writable permission to templates_c folder, only then your site will work properly.

Many people are afraid to set 777 writable permission which …

March 1st in PHP Scripts by .

PHP script to check server status online/offline

i wrote a simple php script to check whether the website or Ip address is online or offline. All you have to do is specify a website url or ip address and the script will return with ONLINE or OFFLINE. I used php fsockopen() to accomplish this.

/* Usage:
$status = …

February 28th in PHP Scripts by .

PHP – How to get domain name from URL?

i was working on a recent project and suddenly i wanted to extract domain name domain.tld stripping off www or http://

I know that parse_url() is the function that accomplishes most of the task. I have tested this function and if users type with www.domain.com then domain.com is only available …

February 18th in Javascript, PHP Scripts by .

Best Free Web based WYSIWYG html editors

markitup.PNG

Best WYSIWYG HTML Editors

I have been searching for some of best web based html editors written in javascript so that i can integrate it with my scripts. I have found pretty nice open source wysiwyg editors so i decided to blog it here.

Please note that some of the editors are …