Browse Source

IP check

download-server-ytdl-org
Philipp Hagemeister 12 years ago
parent
commit
d929dd31d1
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      .htaccess
  2. +3
    -0
      ip.php

+ 2
- 0
.htaccess View File

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

+ 3
- 0
ip.php View File

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

Loading…
Cancel
Save