Moin!
Kurz gesagt, gibt es noch eine andere Lösung, ausser die mit allow und deny?
es gibt eine ganz simple Lösung ohne Umleitung:
if($_SERVER['REMOTE_ADDR'] != 'localhost') exit;
REMOTE_ADDR enthält immer eine IP. Dein Code ließe sich also verkürzen zu:
exit;
- Sven Rautenberg
--
"Love your nation - respect the others."
"Love your nation - respect the others."