MyBB Community Forums
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> code ip
Full Version:
code ip
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Mr_Joker.
2012-07-18, 11:34 AM
what code should I use to find the ip of a user and do read the page?
example
Shannon
2012-07-18, 12:10 PM
$_SERVER['REMOTE_ADDR'];
Will get the IP of a user.
Mr_Joker.
2012-07-18, 05:22 PM
does not work
Vernier
2012-07-18, 05:25 PM
Where are you trying to add it?
Mr_Joker.
2012-07-18, 10:06 PM
ninth, now it works, you can create a code that stores the IP you have visited a particular page?
Omar G.
2012-07-18, 10:14 PM
You can use this:
$ip = get_ip();
Mr_Joker.
2012-07-19, 08:27 AM
Yes, but I want you to save in a txt file then I can see myself chwe just me.
harlenjoy
2012-07-19, 08:54 AM
or you can view it by yourself using raw access logs on your cpanel.
Mr_Joker.
2012-07-22, 08:36 AM
up...
Vernier
2012-07-22, 08:38 AM
http://www.inthebrilliantblue.com/?p=15
MyBB Community Forums
>
Community Archive
>
Archived Forums
>
Archived Development and Support
>
MyBB 1.6
>
1.6 General Support
> code ip