Quantcast
Channel: 9zap.com » PHP
Browsing latest articles
Browse All 15 View Live

Image may be NSFW.
Clik here to view.

PHP code to display Date and Time

Below is PHP code to display Date and time. <?php echo date("D M d, Y H:i:s"); ?> In above code; D -> Display day example Sunday M -> Display month example January d -> Display date,...

View Article


Image may be NSFW.
Clik here to view.

PHP code to redirect a page

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 <?PHP header("Location: http://www.google.com"); exit; ?> If you want...

View Article


Image may be NSFW.
Clik here to view.

PHP code to display visitors IP

You can show your website visitors IP using a simple PHP code. Use below code to display visitors IP. <?php echo $_SERVER['REMOTE_ADDR']; ?>

View Article

Image may be NSFW.
Clik here to view.

PHP code to display visitors browser details

You can show your website visitors browser information using a simple PHP code. Use below code to display visitors IP. <?php echo $_SERVER['HTTP_USER_AGENT']; ?> Demo Live Demo Of Browser details

View Article

Image may be NSFW.
Clik here to view.

PHP Password Generator

This is a simple PHP password generator script. It will generate 12 characters random password every time you click the generate button. The password will be combination of: 3 lower case letters 3...

View Article

Browsing latest articles
Browse All 15 View Live