You have created this code to restrict uploads from the site page only and do not directly download or steal the link But the code does not work and there is a problem when you go to the link opens a blank white page and upload only after reloading the page and upload directly can solve the problem
This code: if(!isset($_SERVER['HTTP_REFERER']) || parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST) != 'www.pesktop.com' ){ redirect($post['url_file']); exit();}
Aucun commentaire:
Enregistrer un commentaire