Support Forums

Full Version: [Tutorial] How to grab IP adress with PHP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Very usfull Smile im not a php coder but ill use this for sure
Another great tutorial from flaming,thanks once again mate.
could this transmit the ip to text, for example, if someone wants to know their ip it shows it?
This is plain and simple, this would be good for website forums, thanks.
Nice one. Could be used and the victims could be hacked via Metasploit.

Thanks for it.
(11-19-2010, 09:42 AM)Kate Wrote: [ -> ]Nice one. Could be used and the victims could be hacked via Metasploit.

Thanks for it.

i don't think that was the intention of this.
The first way to get IP, could be used for signatures to scare some people. Big Grin
(11-21-2010, 03:09 PM)flAmingw0rm Wrote: [ -> ]The first way to get IP, could be used for signatures to scare some people. Big Grin

You mean to log their IP? Or display it in their signature?
Nice tutorial, should help some people.
This is a good way of recording their IP into an SQL database, along with their username:

PHP Code:
if((isset([action]))) {
        
$sql2="INSERT INTO [table] (username, ip) VALUES ('$_SESSION[SESS_LOGIN]','$_SERVER[REMOTE_ADDR]')";
        
mysql_query($sql2);
        } 
Pages: 1 2 3