Category Archives: Tutorial

Text to Image converter php script Protect Email ID

Hi there, I did this project 1 year back and the first article about this script was in bangle. Today I will write that into English.  I prepared that script as I have a site where I need to share email ID. But text email id is very attractive element for the email marketer! They just search @ sign and grab email ids! That’s why I thought I need email id as an image.

Anyway, let’s began. What I am gonna say is about a php script that will convert text into image and you may use it to print email on your site same like me. Well, Demo and Download link of the script is as follows

Text to Image php Script Demo and Download Page

Now we will see the codes step by step. First create a new php file on your server give the name image.php, you are free to chose other name also. It’s totally up to you. And on that new file, copy the following code


header ("Content-type: image/png");
$string = $_GET['img'];                                            
$font   = 4;
$width  = ImageFontWidth($font) * strlen($string);
$height = ImageFontHeight($font)+2;
$im = @imagecreate ($width,$height);
$background_color = imagecolorallocate ($im, 255, 255, 255); //white background
$text_color = imagecolorallocate ($im, 0, 0,0);//black text
imagestring ($im, $font, 0, 0,  $string, $text_color);
imagepng ($im);

The above line of code will get text in get method and convert in into Image. And now open another  file (may be index.php or txt2img.php ) and put the below code. Continue reading Text to Image converter php script Protect Email ID

How to write Bangla with Bijoy Keyboard

What is Bijoy Keyboard.

Bijoy is a Bengali word means victory. And Bijoy Keyboard is a keyboard layout that is used to write Bengali. This keyboard layout owned by Mustafa Jabbar. People use bijoy from the age of windows 98 to now. But now a days there are more keyboard layout used to write Bangle. Bijoy 2000, Bijoy Pro for WinXP, Bijoy 2003 and Bijoy Bahanno are the some version of this keyboard.

Bijoy Keyboard Layout

To use this keyboard, you need to install the keyboard on your computer. This is not a free application. Bijoy Bahanno is the last version of Bijoy Keyboard included with Unicode feature. Following is the Bijoy keyboard layout

Bijoy KeyBoard Layout Continue reading How to write Bangla with Bijoy Keyboard

Split domain name into sld and tld – php script

A series of alphanumeric strings that are separated by periods, such as, that is an address of a computer network connection and that identifies the owner of the address.

Also, Domain names are used to identify one or more IP addresses. For example, the domain name represents about a dozen IP addresses. Domain names are used in URLs to identify particular Web pages. For example, in the URL, the domain name is

What is SLD

SLD (Second-Level Domain): A second-level domain (SLD) is the portion of a URL (Uniform Resource Locator)  that identifies the specific and unique administrative owner associated with an IP address (Internet Protocol address). The second-level domain name includes the top-level domain (top-level domain) name. For example, in:

hotmobiapp” is a second-level domain. “” is a second-level domain name (and includes the top-level domain name of “com”). Second-level domains can be divided into further domain levels. These subdomains sometimes represent different computer servers within different departments.

What is TLD

TLD (Top Level Domain): A top-level domain (TLD) is one of the domains at the highest level in the hierarchical Domain Name System of the Internet.  The top-level domain names are installed in the root zone of the name space. For all domains in lower levels, it is the last part of the domain name, that is, the last label of a fully qualified domain name. For example, in the domain name, the top-level domain is .com

Well, then what was index.html? or some time /someting/blog.php ? Well, after a domain name, others are either file name or directory name.

Well, Now we know about Domain Name, SLD and TLD. And now, we will see how to split a domain name into SLD and TLD Continue reading Split domain name into sld and tld – php script

How to insert symbol in photoshop?

Today I will discus how to add special character in adobe Photoshop. It will be so easy to add symbol in PSD file after reading this post. Well, follow the step shown in below

Windows’ “Start” -> “All Programs” – > “Accessories” – > “System Tools” -> “Character Map”. The Character Map window will open.
Now, Select your required symbol and then copy it. Now go to Photoshop, take a new canvas and then take the text tool. Now paste the character. And now you can edit this! You may need to use different font

Character Map
Character Map

There is another way to run the “Character Map” window! Go to RUN and type charmap and then Enter. What you find?

How to recover WP password installed on localhost

I was looking for how to recover WordPress password installed on localhost. I got a way to recover, You may like it. Well, let us know how to do that. First go to phpMyadmin and create another database. Copy a fresh copy of WordPress installation file on your htdocs and install another WordPress on your localhost. Remember the password used to the new WordPress installation as we will use it.

WP Admin Wrong Password
WP Admin Wrong Password

Again go to the phpMyadmin to access the your database.  Open the database that you created to install WordPress last time. Now open the wp_users table export it as sql file. We will replace this table to the database used for the old WordPress. Well, now open the old database used on the old WordPress and also open the wp_users table. Now drop(delete) the wp_users table from the old database. Now Import the wp_users table what you imported earlier form the new WordPress installation database. Now go to the wp-admin area for the old WordPress on your browser and use the same username and password what you used to install the new WordPress installation. Hope you got the idea. There is another way and I will let you know about that later…