Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

visitor's IP and resolved domain

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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 ?
marchelloUA
New php-forum User
New php-forum User
 
Posts: 1
Joined: Wed Mar 05, 2014 3:04 am

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
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.