Articles about php, html

Popular htaccess tricks

.htaccess is used very common nowadays. To create the .htaccess file you can open notepad and save the file with name of .htaccess. So here are some popular htaccess tricks. If you want that if you type in your url and it is changed to http://www.example .com then you can do this by writing the following code in .htaccess file:- RewriteCond %{HTTP_HOST} ^example\.com$ [NC] [...]

By |2024-03-27T13:03:51+00:00August 7, 2011|Programming|0 Comments

Steps to improve alexa ranking

Alexa is most widely used website to determine the ranking of website. The value of website is better counted with alexa. Alexa also gives toolbar that you can install in your browser e.g in IE and Firefox to get the ranking of websites. These are few steps you can improve your alexa ranking:- Place alexa widget on your blog. Use alexa redirect url for example [...]

By |2024-03-27T13:04:03+00:00May 18, 2011|Programming|0 Comments

Html5 sample syntax

The sample html5 code looks like this:- <!DOCTYPE HTML> <html> <head> <title>My Title goes here</title> </head> <body> My content goes here..... </body> </html> Here the only difference between html 4 and html 5 is doctype. The doctype has not ending tag.

By |2024-03-27T13:04:06+00:00May 16, 2011|Programming|0 Comments

Difference between static, final and abstract class in java

Let me discuss static, final and abstract class one by one. Abstract class Abstract class An abstract class is that which must be extended. If you use abstract method in a class then that means the class is abstract also so you have to declare that class as abstract. Abstract class behaves as a template. Abstract class can contain static data. Abstract class can not be instantiated. Static [...]

By |2024-03-27T13:04:07+00:00May 14, 2011|Programming|0 Comments

Difference between micro computer, super computer and mainframe computer

The main difference between micro computer, super computer and mainframe computer is the power they have. But i can explain the features of all these as:- Micro computer Micro computer are general purpose computer also called Pc. They are used at our homes. Micro computer can handle one user at a time. These computer are used for documentation, making power point presentation , printing tasks and other usual [...]

By |2024-03-27T13:04:10+00:00May 9, 2011|Programming|6 Comments

Difference between md5, sha1 and crc32

md5, sha1 and cr32 are all used for encrypting. But there is difference between all these. md5 gives 160-bit value that mean it is very complex and there may be consumed years to get the original value for hackers. sha1 is 128 bit while crc32 generates 32 bit hash value. We use md5 not so frequently in our websites because it cause speed breakdown of website. [...]

By |2024-03-27T13:04:13+00:00April 17, 2011|Programming|1 Comment

CAPTCHA stands for?

CAPTCHA stands for Completely Automated Public Turing Test to tell Computers and Humans Apart. Captcha is used to stop spammers to your website. It stops the bots to enter some thing in your site. For example auto comments on blog posts. Captcha gives you image of text and you have to enter the text as it is in the text box. This text is only readable [...]

By |2024-03-27T13:04:14+00:00April 17, 2011|Programming|0 Comments

Difference between echo and print in php

There is slight difference between echo and print. But both are used to print line of code to the browser. There are two main difference between echo and print:- echo does not return any value while print returns true or false on successful print. echo is faster than print. I advice you to use echo in your code and don't use echo and print both because [...]

By |2024-03-27T13:04:14+00:00April 17, 2011|Programming|0 Comments

Difference between require, require_once, include and include_once

All these functions require, require_once, include and include_once are used to include the files in the php page but there is slight difference between these functions. Difference between require and include is that if the file you want to include is not found then include function give you warning and executes the remaining code in of php page where you write the include function. While require [...]

By |2024-03-27T13:04:14+00:00April 17, 2011|Programming|0 Comments

difference between x86 and x64 processor

Today i will discuss about the difference between x86 and x64 processor. x86 supports 32-bit and x64 supports 64-bit. Now a days many softwares come with both 32-bit and 64-bit compatibility. For example photoshop and windows 7 comes with 32-bit and 64-bit support. The core 2 duo processor is x64 and that mean it is 64-bit and also backward compatible like supports 32-bit operating system also. [...]

By |2024-03-27T13:04:18+00:00February 23, 2011|Programming|0 Comments
Go to Top