This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

File download link pops up new browser tab


  1. teacherdavids
    Member

    Hi, I use a form for my students to upload their homework to my website. Once their homework is uploaded MachForm sends me a notification email (managed through POP3) to my desktop. In the email is a link to the uploaded file. When I click on the link a new blank browser tab opens and then an Explorer window asking where I'd like to save the file. The blank browser window is the problem. I would like to just get the Explorer window asking for the download storage location. Have looked at the download.php file and cannot seem to locate anything regarding turning on/off a new browser tab; but then my coding literacy is not very good either. Any suggestions? Thanks.

    Posted 13 years ago #
  2. yuniar

    Hello,

    You can edit your "download.php" file and search for this code:

    require('includes/check-session.php');

    simply remove that line to disable the login requirement to download the file.


    MachForm Founder

    Posted 13 years ago #

RSS feed for this topic

Reply