summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-02 15:29:33 -0500
committerChristian Cleberg <[email protected]>2026-08-02 15:29:33 -0500
commitfd90f1dc9ec4f63a5f68a492edb3b41f9b2b43b5 (patch)
tree72cbb78e1cb389c6a548a38ceb295455298b6b6f /README.md
parent720a2f570f7ddf8d98cf1f1ea9b2496c9e133a66 (diff)
downloadifconfig.php-fd90f1dc9ec4f63a5f68a492edb3b41f9b2b43b5.tar.gz
ifconfig.php-fd90f1dc9ec4f63a5f68a492edb3b41f9b2b43b5.tar.bz2
ifconfig.php-fd90f1dc9ec4f63a5f68a492edb3b41f9b2b43b5.zip
convert readme to nfo; relicense to 0bsdHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md51
1 files changed, 0 insertions, 51 deletions
diff --git a/README.md b/README.md
deleted file mode 100644
index ef6e1e4..0000000
--- a/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# ifconfig.php
-
-**Simple PHP script to show IP address, UserAgent and other info**
-
-It works exactly the same as [ifconfig.me](http://ifconfig.me) and [ifconfig.co](http://ifconfig.co).
-
-Available all basic features such as output in HTML, plain text, XML and JSON.
-By default it will be in HTML. Also it is possible to request single values.
-
-Visit some of the links below to view it in action:
-* [all in plain text](http://ip.cmc.pub?q=text)
-* [all in xml](http://ip.cmc.pub?q=xml)
-* [ip address only](http://ip.cmc.pub?q=ip)
-* [useragent only](http://ip.cmc.pub?q=ua)
-
-If you're using the Apache web server, you can use the .htaccess rules below to make this site more user friendly:
-
- RewriteEngine On
-
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^ifconfig$ ifconfig.php [L]
- RewriteRule ^ifconfig/(.*)$ /ifconfig.php?q=$1 [L]
-
-With this code in the .htaccess file there is no need to type out the full URL, i.e. 'ifconfig.php?q='.
-Instead, you can just open 'ifconfig/xml' to get XML output or 'ifconfig/ua' to determine useragent.
-
-Run `curl -L -X GET https://ip.cmc.pub/\?q\=text` in Linux terminal to get some info.
-
-## Development
-
-First, install PHP and Composer. For Fedora, run:
-
-```bash
-sudo dnf install php-cli composer
-```
-
-If applicable, install or update the maxmind-db dependency:
-
-```bash
-composer require maxmind-db/reader:~1.0
-
-# to update, run:
-composer update
-```
-
-Next, you can launch a dev server to test any of your changes:
-
-```bash
-sudo php --server localhost:8080 --docroot .
-```