on-internet
← Community

how to make a file download then user open index.html?

Stack Overflow ·

What I need is when user open, foe example, www.mydomain.com/install , he would be offered to download a file. I made an index file in that folder with <META HTTP-EQUIV="Refresh" CONTENT="0;URL=myfile.sis"> but on some devices instead of downloading, it would attempt to open and display the file in that strange hex(?) format. any idea... thanks! P.S. <?php header("Location: skyeye.sis"); exit; ?> does the same.

Comments

Sign in or sign up to comment and upvote.

No comments yet.