Skip to content

A simple web application that logs the public IP address of users visiting the website.

License

Notifications You must be signed in to change notification settings

jerome-wilson/ip-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

Technologies Used

  • 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

  1. 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.
  2. Clone this repository:

    • Clone this repository to your local machine using Git: git clone https://github.com/your-username/ip-logger.git

About

A simple web application that logs the public IP address of users visiting the website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published