harmor, i've a little problem.
I indicate my ID in the options, i activate your hack, but when i try to change the news, it indicate me "Direct Access is Prohibited". Why there is this message ?
I read the php file :
PHP Code:
if($can_edit == 0 OR !$_SERVER['HTTP_REFERER'])
{
die('Direct Access is Prohibited');
}
$can_edit == 0 -> i can edit
!$_SERVER['HTTP_REFERER'] -> ???
So when i delete !$_SERVER['HTTP_REFERER'], it's good, but why ?
Thanks