https://github.com/cmar0ck/php-ip-logger
Logs the IP of the visitor who runs the script to a .txt file. Useful when you don't have a dynamic DNS and need to access your home network / Raspberry Pi.
https://github.com/cmar0ck/php-ip-logger
dynamic-dns ip logger php raspberry-pi
Last synced: 2 months ago
JSON representation
Logs the IP of the visitor who runs the script to a .txt file. Useful when you don't have a dynamic DNS and need to access your home network / Raspberry Pi.
- Host: GitHub
- URL: https://github.com/cmar0ck/php-ip-logger
- Owner: cmar0ck
- Created: 2017-05-30T08:22:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-22T10:18:20.000Z (almost 9 years ago)
- Last Synced: 2025-02-26T07:15:00.695Z (over 1 year ago)
- Topics: dynamic-dns, ip, logger, php, raspberry-pi
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-ip-logger
Logs the IP of the visitor who runs the script to a .txt file.
Useful when you don't have a dynamic DNS and need to access your home network / Raspberry Pi.
Example Usage:
``crontab -e``
Update IP every hour (= 'at minute 0')
``0 * * * * curl http://urlofyourhost.com/ip.php ``
The logged ip will then be written to 'ip.txt' (located in the same folder as ip.php)