2
0
Philipp Hagemeister 12 жил өмнө
parent
commit
d929dd31d1
2 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 2 0
      .htaccess
  2. 3 0
      ip.php

+ 2 - 0
.htaccess

@@ -0,0 +1,2 @@
+RewriteEngine On
+RewriteRule ^ip/?$ ip.php

+ 3 - 0
ip.php

@@ -0,0 +1,3 @@
+<?php
+header('Content-Type: text/plain');
+echo $_SERVER['REMOTE_ADDR'];