| Wejście tylko ze strony | Array Drukuj Array |
| HTML/CSS/JAVA - HTML/CSS/JAVA | |||
| Niedziela, 19 Listopad 2006 13:21 | |||
|
<?php $ref=$_SERVER['HTTP_REFERER'] if($ref!='http://twojadres.pl || $ref!="http://twojadres.pl/index.php"){ header("Location: pustastrona.php"); } lub JS (choć nie polecam tej metody) Kod: if(document.referrer!='http://twojadres' || document.referrer!='http://twojadres.pl/index.html'){ location.href='pustastrona.html'; }
|

