ge00rge Posted August 4, 2006 Share Posted August 4, 2006 Hi,I'm using flatFileHost script to allow uploading of files to my web server.When I installed the script,everything was working fine,but today there is a problem.When I upload a file,and after try to download it,I get this kind of screen -->[url=http://www.jpg.gr/images4/error.jpg]http://www.jpg.gr/images4/error.jpg[/url] ,instead of a download prompt.The content-type header in the download2.php script is set to "header('Content-type: application/octet-stream')" and my htaccess files look like this:File storage dir htaccess file:[code]order allow,denydeny from all[/code]root dir htaccess file:[code]<Files *.txt>order allow,denydeny from all[/code]Any ideas why is this happening? Quote Link to comment Share on other sites More sharing options...
hackerkts Posted August 5, 2006 Share Posted August 5, 2006 I don't think it should be here, this is 3rd party script. Quote Link to comment Share on other sites More sharing options...
lordphate Posted August 5, 2006 Share Posted August 5, 2006 flathostfile has its own forum, and you need to set the headers as a filetype input Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.