#NOTE: THIS WEBSITE IS SECURELY LICENCED AND CERTIFIED USING GOOGLE'S SSL CERTIFITE. THIS WEBSITE IS CLOSELY MONITORED. ANY ATTEMPT FOR BREACH OR UNAUTHORIZED USAGE SHALL BE DEALT LEGALLY.
IP Logger
A simple web application that logs the public IP addresses of users who visit the site. This project uses HTML, CSS, JavaScript for the frontend and PHP to log the IP addresses to a file on the server.
Features
- Fetches the user's public IP using the
ipinfo.io
API. - Logs the IP address to a server file (
ips.txt
) for later review. - Simple, clean UI with a button for users to trigger the IP logging.
- Written in HTML, CSS, JavaScript, and PHP.
Demo
You can access the live demo of the project at:
https://ip-logger.wuaze.com
- Frontend: HTML, CSS, JavaScript
- Backend: PHP (for logging IP addresses)
- API:
ipinfo.io
(to fetch public IP)
Prerequisites
Before running the project, make sure you have the following installed:
- A local development environment (e.g., XAMPP or WAMP) to run PHP on your machine.
- A web browser to view the application.
Setup and Installation
Local Development Setup
-
Download and Install XAMPP (or any local PHP server):
- Go to XAMPP's official website - (https://www.apachefriends.org/index.html) and download the installer for your operating system.
- Follow the installation instructions and start the Apache server in the XAMPP Control Panel.
-
Clone this repository:
- Clone this repository to your local machine using Git:
git clone https://github.com/your-username/ip-logger.git
- Clone this repository to your local machine using Git: