search

Home  >  Q&A  >  body text

Web page download problem!

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!


霺╰笑感染嘴角的苦涩霺╰笑感染嘴角的苦涩2372 days ago1131

reply all(3)I'll reply

  • You bad bad

    You bad bad2018-07-13 16:40:12

    1. Add the attribute target="_blank" to the tag

    2. ##window.open("Link");js method


    3. reply
      0
  • 无忌哥哥

    无忌哥哥2018-07-11 15:56:27

    Add a target

    in the a tag

    reply
    0
  • Cancelreply