Cytat
Można to prościej zrobić odczytując po prostu referer'a:
[php:1:56a0a6958c]<?php
if($_SERVER['HTTP_REFERER'] == "http://www.adresstrony.pl/a.php") {
// wpuszczamy
} else {
// nie wpuszczamy
}
?>[/php:1:56a0a6958c]
Cytat
'HTTP_REFERER'
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
@fiflus a co ci konkretnie nie dziala (startowales sesje??) ?