1
attock
Debaser - Getfile.php
  • 2006/10/26 3:45

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


hi,

In debaser, if you click on the link blah blahblah/modules/debaser/getfile.php?id=blah download prompt will display and downloading will start.

Is there a way to edit the file getfile.php to display a Message (you are downling Blah file frm Blah Website) followerd by download prompt after couple of seconds?


header("Content-Type: audio/mpeg; name="".basename($filename).""");      
header("Content-Length: ".filesize($filename)."n");  
header("Content-Disposition: attachment; 
filename="".basename(
$newfilename).""");          
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");          
header("Last-Modified: " gmdate("D, d M Y H:i:s") . " GMT");          
header("Cache-Control: no-store, no-cache, must-revalidate");          
header("Cache-Control: post-check=0, pre-check=0"false);     
header("Pragma: no-cache");


I believe it can be changed somewhere in the above codes.

Thankyou.

Login

Who's Online

346 user(s) are online (270 user(s) are browsing Support Forums)


Members: 0


Guests: 346


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits