|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Download file
Hi
I am using blob to store files on mysql. And upon user click to downlod file, I would like the user to download the file , rather then opening the file as in the tutorial. How should I do it ? Thanks Rathaur
__________________
Rathaur ====================== Knowledge is Power |
|
#2
|
|||
|
|||
|
header("Content-type: application/php");
header("Content-Disposition: attachment; filename=tutorial.php"); |
|
#3
|
|||
|
|||
|
also before defining the header, use ob_clean() to advoid header error msgs
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Download file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|