Dynamic Signature

Dynamic Signature

I am here to introduce the working of a dynamic signature,have you ever wondered how the popular website www.danasoft.com make those signature,its quite wacky because they create an image online depicting your IP address, operating system (Windows, Mac), web browser type, along with your customized message at the bottom,isn’t amazing.

So let us explore how those guys do that,all those people reading this should not be a maestro in programming all you have to need is a little bit experience using PHP or common sense :) I will make it more simpler for the newbies.

The language i am gonna use is php I will give a brief introduction about the language,The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. So lets start it,first i will list all the requirements needed for its making,

Server Information where i hosted my content.

  • Operating system Linux
  • Apache version 2.2.8 (Unix)
  • PHP version 5.2.6
  • MySQL version 5.0.51
  • GD support
  • The files you will need to upload to the server-

  • .htaccess
  • mysig.jpg
  • backgroundimage.jpg
  • verdana.ttf
  • In the .htaccess file insert the following code:

    ForceType application/x-httpd-php

    This will tell the server to parse the mysig.jpg file as a PHP file. Save this file in a folder where you will also place the other files.Now, open your text editor and create your signature file,

    mysig.jpg. Put the following php code in it:

    
    

    You could see a working example of my signature

    45K Blog

    click on the image to get enlarged view.

    One Responseto “Dynamic Signature”

    1. askoppal says:

      The sample real time signature displayed above is using a much advanced php code than the one in the article.I will blog that too if you can make a request.I will really appreciate it.

    Leave a Reply