PHP Visitor IP Address Video 0054
A Video for the Ojambo.com PHP Visitor IP Address article.
Part One of One
PHP can access the global variable $_SERVER that contains environment information.
The video begins by demonstrating an example of OjamboShop.com showing the IP address of the visitor. The website content will be inside the specified web root folder.
The tutorial is broken up into three parts. The first part creates the “GetVisitorIP.php” file in the web root folder.
The second part tests the PHP HTTP server. The final part consists of testing inside a web browser.