Posts

What is MD5 ?

MD5 stands for 'Message Digest algorithm 5'. MD5 algorithm is used as a cryptographic hash function or a file fingerprint. Often used to encrypt password in databse, MD5 can also generate a fingerprint file to ensure that a file is the same after a transfer for example. A MD5 hash is composed of 32 hexadecimal characters. Enter a word in the MD5 encrypter form above to know the corresponding MD5 hash. What is a MD5 hash? MD5 (Message Digest algorithm, 5th version) is an algorithm which converts a given sequence of characters into another unique sequence of characters, with a fixed length, called "hash". For instance, the MD5 hash of the word "admin" is "21232f297a57a5a743894a0e4a801fc3". These hashes are mostly used to validate file integrity, to encrypt sensitive data (like passwords), and to generate unique identifiers. Is it secure? MD5 hashes are theoretically impossible to reverse directly, ie, it is not possible to retrieve the or

A Basic Program on Jquery

Image
Jquery is client-side language, which makes easy processing and less server load on server. As its run on client side and perform a useful function, like we don't have to refresh all the page to get the output on the browser. This include checking the Text fields requirement, changing the color for a particular block or Div. We will cover all this on later in the blog. Currently we will know the basic for the jquery. First we need to include the jQuery File on the page, before calling the  Our defined Function or code. We can download the latest file from the jQuery Site or simply include the path of the jQuery site. Reference:   http://jquery.com/ You can check the latest link from here #################################### jQuery Program #################################### <html> <head> <title> Start with jQuery </title> <!-- include the jQuery File form the jQuery site --> <script src="//c

Type of Variable

      This program is for showing data type on PHP, There is no need to define data type on PHP. Its automatic define type to the variable as the value is assign to its. Example like: $var2  =   5;  // type will be string $var2 =  "5";  // type will be integer ######################################### PHP Code ######################################### <?php $var1  =  "The 2 Sentences"; $var2  =   5;  // type will be string $var2 =  "5";  // type will be integer echo $var1; echo "<br/>"; echo $var2; echo "<br/>"; settype($var2,'integer'); echo $total = $var1 + $var2; echo "<br/>"; echo gettype($var1); echo "<br/>"; echo gettype($var2); echo "<br/>"; settype($var2,'integer'); echo gettype($var2); echo "<br/>"; $var1 = "The first Sentances"; $var2

Variable in PHP

Image
Variable in PHP  are like other programming, which are used for storing value in program. Like other programing language, we don't have to defined data type of the variable. For example, You can Defined string, Number etc in the variable. Just you have to write like below: $myvar1 = "This is a sentence"; $myvar2 = 23;    OR   $myvar2 = "23";   OR   $myvar2 = '23'; $myvar3 = 2.5;   OR   $myvar3 = "2.5";  OR   $myvar3 = '2.5'; For display the above value use echo/ print function. <?php echo $myvar1;   ?> ################################################ PHP Code ################################################ <html> <head> <title>Variable in PHP</title> </head> <body> <?php /* variable is case sensative variable start with a $ sign followed by letters or underscore they can contain letters, numbers, underscores or dashes

A basic PHP Program

Image
Here we are going to understand basic PHP program within  a HTML Code. Follow the program to Understand: Comments on PHP Printing a word using PHP print and echo function in PHP, These function are used for displaying a Text, word or a variable. Some times its also used to display return value from the function, which will be understand later in the Blog. Function are the pre-defined a Block of code, which makes you easy to write program. This is also cover later in the blog. A Browser only display HTML, and server by the use of Apache execute the PHP and makes HTML to display on the Browser.  Some Example of are "Opera", "Google Chrome", "Mozila Firefox". Use as many as Space, Tabs and new line in PHP code. This is called Best Proctise to write a Code in any language, as They are readable and more clear then write withouts spaces and etc. ###############################################    PHP Code ######################################

Moving WordPress from one Location to Another Location

Whether you are moving WordPress to a new server or to a different location on your server, you don't need to reinstall. WordPress is flexible enough to handle all of these situations. Moving to a New Server If you are moving WordPress from one server to another, begin by backing up your WordPress directory, images, plugins, and other files on your site as well as the database. See WordPress Backups and Backing Up Your Database. Here is a simple guide to moving your WordPress site to a new server that describes the process. Keeping Your Domain Name and URLs Moving your domain without changing the Home and Site URLs of your WordPress site is very simple, and in most cases can be done by moving the files. If database and URL remain the same, you can move by just copying your files and database. If database name or user changes, edit wp-config.php to have the correct values. If you want to test before you switch, you must temporarily change "siteurl" and "

Move your Magento site from one hosting account to another

Image
Follow these steps to transfer Magento from one account to another: Step 1: Backup the Magento MySQL Database Step 2: Transfer all Magento Files Step 3: Adjust the Magento Configuration Step 4: Restore the Magento Database STEP 1 Backup the Magento MySQL Database On SiteGround servers you have phpMyAdmin included by default in cPanel for your account. In other cases you will have to use the same tool or a similar one that is capable of exporting your MySQL database. Detailed information on how to perform a MySQL backup can be found in our MySQL Tutorial. Alternatively, if you don’t have phpMyAdmin installed but you have shell access you can use the mysqldump tool. The syntax is as follows: mysqldump -h HOST -u USER -p DATABASENAME > FILENAME.sql where: HOST is the database server hostname or it can be omitted if you are running the MySQL server locally USER - a user with full privileges to the Magento database DATABASENAME - is the full name of the database whic