FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


php script sows Ip





lituhanian
it it's good script to see Ip
Code:

<?php
print getenv('REMOTE_ADDR');
?>
bdoneck
IP is a easily accessed variable. you can either get it by using $REMOTE_ADDR or $_SERVER['REMOTE_ADDR'] i found that $REMOTE_ADDR doesnt return an ip all the time and using $_SERVER['REMOTE_ADDR'] is much better

you dont need any of that stuff you did.
mathiaus
how pointless. Thats easily searched on google and is everywhere in the correct form Rolling Eyes

-close-
Related topics
Phoenix free PHP scripts
error in my PHP script
how can i make a php script for enter username and password?
Inserting data to MYSQL with a PHP script
Running a "Hello World" php script
[PHP] Running Cron Jobs Via PHP Script
Simple PHP script not working
PHP Script- How can we install it
I need a VERY simple php script
PHP Script needed
Logging systeem php script
Preventing bad PHP script calls
array check box on php script using $_POST
How to change extension php to html but the php script still
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.