Support Forums
[Tutorial] How to grab IP adress with PHP - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21)
+---- Thread: [Tutorial] How to grab IP adress with PHP (/showthread.php?tid=4154)

Pages: 1 2 3


RE: [Tutorial] How to grab IP adress with PHP - mmki - 07-29-2010

Very usfull Smile im not a php coder but ill use this for sure


RE: [Tutorial] How to grab IP adress with PHP - SlimDeath - 11-16-2010

Another great tutorial from flaming,thanks once again mate.


RE: [Tutorial] How to grab IP adress with PHP - Matt G - 11-16-2010

could this transmit the ip to text, for example, if someone wants to know their ip it shows it?


RE: [Tutorial] How to grab IP adress with PHP - Extremespeed™ - 11-18-2010

This is plain and simple, this would be good for website forums, thanks.


RE: [Tutorial] How to grab IP adress with PHP - Kate - 11-19-2010

Nice one. Could be used and the victims could be hacked via Metasploit.

Thanks for it.


RE: [Tutorial] How to grab IP adress with PHP - Matt G - 11-19-2010

(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.


RE: [Tutorial] How to grab IP adress with PHP - flAmingw0rm - 11-21-2010

The first way to get IP, could be used for signatures to scare some people. Big Grin


RE: [Tutorial] How to grab IP adress with PHP - Proof - 11-21-2010

(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?


RE: [Tutorial] How to grab IP adress with PHP - Preeminent - 11-23-2010

Nice tutorial, should help some people.


RE: [Tutorial] How to grab IP adress with PHP - Win - 11-26-2010

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);
        }