hey firemax,how much do you know about header()/php download?
does all mobile support it?
some of my users said that they cant download youtube videos.i have used header("Content-Length: $size"); line.
do u think this line is the main problem or their mobile doesn't support header()/php download?
firemax wrote:
yes heade content length not supporting for some poor browsers. (Ex: IE 6 basic) ,
but this is not a problem for downloading. check the value of '$size'. if $size equals to '0', file will not be download.
Hey, i know that.did u noticed that
header("Content-Length: ".$length."");
does not works but
header("Content-Length : ".$length."");
works.i mean u need a space between Content-Length and :
FI
firemax, please teach me how to remove name attachment that will not affect its download, I tried to remove it but its not downloading..Im talking about remove not replace with my site url,.Thanks
FI
firemax, please teach me how to remove name attachment that will not affect its download, I tried to remove it but its not downloading..Im talking about remove not replace with my site url,.Thanks
Coz With that code If I download (e.g. Charlie bit my finger - again!) video, it`s name will be (random number.3gp)..
What I want is when I download
(e.g. Charlie bit my finger - again!) video, it`s name will be (Charlie bit my finger - again!.3gp)..
I hope someone understands me, sorry for bad english..