Let me describe it first. For example, we have a direct link download address www.php.cn/a.zip [We know that the downloaded file is a.zip]
But what I want to do is: no matter whether other people access this download link directly or jump to this download link through other pages; what I want to achieve is that when the user accesses this download link, , we judge that he has generated the download; then we execute: open a new interface in the current browser, visit www.php.cn or any specific interface.
Please tell me how to do it and how to do it!
Add the attribute target="_blank" to the tag
Add a target
in the a tag