- Impact
- 9
While looking in the PHP predefined variables i found an intersting one: $_ENV["REMOTE_ADDR"]. what this does is it gives the current IP of the person viewing your site. This is quite good if you are making a poll for a intranet where each user has their own username.
Have a look at this and tell me what you think.
I hope somebody finds it helpful.
ASGSOFT
Have a look at this and tell me what you think.
PHP:
<?php
$ip = $_ENV["REMOTE_ADDR"]; //set variable
echo $ip; //show the value of the variable
?>
ASGSOFT