Answer the question
In order to leave comments, you need to log in
How to set "do nothing" in PHP if a broken link is specified?
The site added a script to hide links.
Implemented like this:
1) all links for downloading files lead to download.php with a GET request (with file ID data)
2) a link is taken on the download page by file ID
3)
header('Content-Type: application/vnd.android.package-archive');
header('Content-Disposition: attachment; filename="File"');
readfile($link);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question