Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #37.0K
1 Posted Topic
Re: Intenta con eso a ver si te funciona.. :p <?php session_start(); $id=$_GET['fileid']; if($id=="1") { $dwnld = "File1.zip"; } else if($id=="2") { $dwnld = "File2.zip"; } else if($id=="3") { $dwnld= "File3.zip"; } if($id) { header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=".$dwnld."\n\n"); $fp=fopen("$dwnld", "r"); fpassthru($fp); } ?> I want the user to download those … |
The End.