Tuesday, March 1, 2011

Special Post:$_SERVER

Assalamu'alaikum and selamat sejahtera

As i know la,we just had 6 post for creating function,well this post it is just for knowledge.ok ?hahaha,well its quite boring if we just had the same title post everyday!So,imagine that you are an admin and then you want to know the information of server and a little bit on visitor like which website the visitor come from,what browser the visitor used.

Here is the code:

<?PHP

foreach($_SERVER as $name => $value) {
print $name . " = " . $value . "<br>";
}

?>

N/NOTE:don't expect me high!on this post....i just know a little bit only...huhuhu,i just know to display that all...but we can learn!!hahaha

No comments:

Post a Comment