PHP Snippets

Name:Footer Display
Description: This simple snippet could be display below your website.

Code below...
> <?php

   
//Users IP
   
$ip $_SERVER["REMOTE_ADDR"];

   
//Users Browser
   
$browser $_SERVER["HTTP_USER_AGENT"];

   
//Current Year
   
$year date("Y");

  
//Echo the information
  
echo "
   You are connecting from 
$ip<br/>
   Using Browser 
$browser<br/>
   Copyright &copy; mywebsite.com 
$year All Rights Reserved.";

  
//You could add more information such us page generation time or users online. =)

?>

« Back to PHP Snippets

Home | Site Map | Privacy Policy | Advertising | Contact Us
Copyright © 2006-2014 r2xDesign.net - All Rights Reserved.
eXTReMe Tracker