Philipp Hagemeister hace 12 años
padre
commit
d929dd31d1
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  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'];