Using PHP to add a static webpage link to the page (I don't know if this is correct). the design idea is as follows: on a download page, click download, and request in the background to determine if you have the permission, if you do not have the permission to access a set static webpage, how can you solve this problem ??? The first time I asked this question, I just came into contact with these things. I hope to explain them in detail. Use PHP to add a static webpage link to the page (I don't know if this is correct)
The design concept is as follows:
On a download page, click download to determine the request in the background.
If you have the permission, you can access it. if you do not have the permission, you can access a set static webpage.
How can I solve this problem ??? The first time I asked this question, I just came into contact with these things. I hope to explain them in detail.
Share: More
------ Solution --------------------
Download
------ Solution --------------------
If ($ quanxian = 'admin '){
Header ("Location: down. php ");
Exit ();
} Else {
Header ("Location: index. php ");
Exit ();
}
?>