In a via .htaccess password protected directory (Apache) I get error 'Supplied argument is not a valid File-Handle resource' in this line.
$fd= fread(fopen($HTTP_REFERER, "r"), 100000);
What should I do to get this work in the password protected directory?
Works fine in any other directory
Am newbie, help most wanted.
Thanks for your attention.