Devam Ediyor

501590 PHP http_referer solution/fix

Hello there,

So I am trying to fix this as it doesn't work on my VPS:

<?php

if(!$_SERVER[‘HTTP_REFERER']){

header("HTTP/1.0 404 Not Found");

} else {

header("Location: [url removed, login to view]");

}

?>

The code seems fine but the HTTP_REFERER is always empty so I was wondering is there another way around it?

Thank you,

Thomas

Beceriler: Her şey Kabul, PHP

Daha fazlasını görün: thomas i, vps fix, fix location, header fix, http referer, php header referer, header php referer, php referer header, referer header, header referer php, referer php, php referer fix, php http, header referer, php referer code, fix 404, php referer, fix header

İşveren Hakkında:
( 36 değerlendirme ) Thessaloniki, Greece

Proje NO: #2247511