initial commit
This commit is contained in:
10
ifconfig-dynamic.php
Normal file
10
ifconfig-dynamic.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
if (strpos($_SERVER['HTTP_USER_AGENT'], 'curl') !== FALSE
|
||||
|| strpos($_SERVER['HTTP_USER_AGENT'], 'wget') !== FALSE)
|
||||
{
|
||||
echo "$_SERVER[REMOTE_ADDR]";
|
||||
}
|
||||
else
|
||||
{
|
||||
include 'ifconfig.php';
|
||||
}
|
||||
1
ifconfig-simple.php
Normal file
1
ifconfig-simple.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php echo "$_SERVER[REMOTE_ADDR]" ?>
|
||||
11
ifconfig.php
Normal file
11
ifconfig.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title> ifconfig.si - test </title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>ifconfig.si<h1>
|
||||
<h1><?php echo "$_SERVER[REMOTE_ADDR]" ?></h1>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user