Arizata.com Articles

Welcome Guest

Search:

Arizata.com Articles » Php » IP address and referrer

IP address and referrer Articles

1: How to insert visitor IP address and referrer in a table
When visitors come to our website we can collect visitors IP address, referrer, browser details and others details and store them in a MySQL table. Note that this is one of the examples of storing some minimum details of the visitors and not a full script to collect all details.

2: PHP referrer
Referrer is the URL from where the visitor has arrived to the page. If you have reached here by clicking a link from google.com then google URL is the referrer for you in this page. We can find out the referrer by using PHP.

3: PHP script to Find out IP address
We can get the IP address of any visitor by using PHP. Finding the IP address is very important requirement for many scripts where we store the members or visitors details. For security reason we can store IP address of our visitors who are doing any purchases or recording the geographical location of the visitor can be done this way


Page 1 of 1
[1]