o_oe Posted December 4, 2007 Share Posted December 4, 2007 Please what code is suitable for file download. I am designing a site that requires visitors to download a file in two places.1. At the click of a button.2. After filling a form.Thanks. Your time is highly appreciated. Link to comment Share on other sites More sharing options...
Synook Posted December 4, 2007 Share Posted December 4, 2007 You can link to the file normally <a href="download.exe">Click to download download.exe</a> Err... downloading after validation? Hmm... well, you could use PHP to detect a session, and if so will set the content-type to the file type and echo the file code... can't think of a practical way atm. Link to comment Share on other sites More sharing options...
Orkal3 Posted December 4, 2007 Share Posted December 4, 2007 For the form, you could just put this. <a href="download.exe">Proceed</a> | <a href="anyotherpage">Stop Procedure</a> Link to comment Share on other sites More sharing options...
croatiankid Posted December 5, 2007 Share Posted December 5, 2007 You shouldn't really be paid to make a website if you don't know how to, don't you think? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.