Wonderful Script. Only one that I can find that will work with my webserver.
One problem. When i try to download .ppt files, it corrupts them.
When I open it in a text editor, looking for some things that other people said it has added; I see this
<br><table border='1' cellpadding='2' bgcolor='#FFFFDF' bordercolor='#E8B900' align='center'><tr><td><font face='Arial' size='1' color='#000000'><b>PHP Error Message</b></font></td></tr></table><br />
<b>Warning</b>: set_time_limit() has been disabled for security reasons in <b>/home/a5011047/public_html/powerpoints/download-file.php</b> on line <b>81</b><br />
<br><table border='1' cellpadding='2' bgcolor='#FFFFDF' bordercolor='#E8B900' align='center'><tr><td><div align='center'><a href='http://www.000webhost.com/'><font face='Arial' size='1' color='#000000'>Free Web Hosting</font></a></div></td></tr></table>
at the beginning of my ppt file.
Im almost positive that's what is causing it to mess up, but why?
Please help me :/
I have done a lot of work with php but this one is stumping me..