12
Feb
2011

How to enable / disable directory listing

Posted in: Coding No Comments
post image

This method applies on Apache / Linux servers. Directory listing will show all folder and files of any directory in a browser if that directory do not have any index.html / index.php file. You can enable disable directory listing. Simply [..]

06
Feb
2011

How to add comments in PHP and HTML code

Posted in: Coding, PHP No Comments
post image

A comment in PHP code is part of the program, its only purpose is to provide extra information. PHP supports both single-line and multi-line comment.

04
Feb
2011

PHP code to display visitors browser details

Posted in: PHP No Comments
post image

You can show your website visitors browser information using a simple PHP code. Use below code to display visitors IP.

04
Feb
2011

PHP code to display visitors IP

Posted in: PHP No Comments
post image

You can show your website visitors IP using a simple PHP code. Use below code to display visitors IP.

03
Feb
2011

PHP code to redirect a page

Posted in: PHP 1 Comment
post image

You can set redirection of a page to any other url using a simple php code. In below code I will redirect to www.google.com

03
Feb
2011

PHP code to display Date and Time

Posted in: PHP No Comments
post image

Below is PHP code to display Date and time.

03
Feb
2011

PHP While Loop

Posted in: PHP No Comments
post image

while in PHP is used for looping. It tells PHP to execute the nested statement(s) repeatedly, as long as the while expression evaluates to TRUE.

03
Feb
2011

IF, Else construct in PHP

Posted in: PHP No Comments
post image

If, else construct is used to add logic in php code.

02
Feb
2011

PHP comparison operators

Posted in: PHP No Comments
post image

The PHP comparison operators are used to compare two variables. These are listed below.

02
Feb
2011

PHP Variables

Posted in: PHP No Comments
post image

What is PHP variables: PHP variables are used to store and retrieve some data.