nopaste
Home
All pastes
Popular pastes
Recent pastes
Some little ip allow script
By: Arie | Date: Aug 30 2006 22:53 | Format: PHP | Expires: never | Size: 239 B | Hits: 2032
Edit & repaste
|
raw paste
|
Request removal
<?php
$allowed
=
Array
(
'127.0.0.1'
=>
true
,
'192.168.0.2'
=>
true
,
)
;
if
(
!
$allowed
[
$_SERVER
[
'REMOTE_ADDR'
]
]
)
{
print
'Your IP adres is not allowed to view this page.'
;
exit
(
)
;
}
?>
Latest pastes
biontech - iran
12 days ago
Undefined
13 days ago
Cheese Pizza
14 days ago
Undefined
21 days ago
Undefined
25 days ago