visitor's IP and resolved domain

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

marchelloUA
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Mar 05, 2014 3:04 am

visitor's IP and resolved domain

Postby marchelloUA » Wed Apr 09, 2014 10:38 pm

Hi all,

I'm very new to php, please help me:

how do I get visitor's IP and resolved domain in php ?

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: visitor's IP and resolved domain

Postby seandisanti » Wed Apr 09, 2014 10:50 pm

Check out the superglobal $_SERVER http://us2.php.net/reserved.variables.server.php


Return to “PHP coding => General”

Who is online

Users browsing this forum: landi and 5 guests