| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|serving download with php|
i'm using this code:
header("Content-Disposition: attachment; filename=$name");
however, when i use this link:
<a href="download.php?id=123" target="_blank">download</a>
clicking the link will open a new blank window
if i save it, start&end download, the window will not close
how to solve this peoblem
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved