Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

.exe web pages?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
Watch

silentkiller

Established Member
Impact
1
Any idea how do I display a webpage before a file download begins?

For example, someone downloads the file directly from www.abc.com/file.exe

A page will be displayed to the user and the download will begin in like a 5 or 10 seconds.

Sorry if i failed to explain myself clearly :)
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
Thank you! I get the idea.. :)
 
0
Close
Code:
RewriteEngine on
RewriteRule ^(.*).exe$ /dl_file.php?file=$1.exe

Could use something similar^ for redirecting. Which whatever.com/somefile.exe etc will all be directed to whatever.com/dl_file.php?file=somefile.exe.

Then the actual pause in the download can be done in dl_file.php. Make any sense? Sorry if not, 5 am..no sleep ;)
 
1
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back