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: 2466
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
Undefined
16 days ago
Undefined
2 months ago
Spotify uri's
17 months ago
Undefined
19 months ago
Undefined
23 months ago