09-04-2011, 12:17 PM
(This post was last modified: 09-04-2011, 12:18 PM by FritoBandito.)
Actually, The time() function in PHP grabs the time of the server it is hosted on. In this case, it is showing 3:15 pm for me because the server is hosted in the eastern time zone while I am in the Central time zone. It is a good start to learn PHP.
Getting the persons IP address is also quite simple. 2 Lines of code can simple get your IP address and display it:
Basic as that. But i do like the skull head btw
Getting the persons IP address is also quite simple. 2 Lines of code can simple get your IP address and display it:
Code:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
echo $ip;
?>
Basic as that. But i do like the skull head btw