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? Link to comment https://forums.phpfreaks.com/topic/16589-flatfilehost-script-weird-problem/ 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. Link to comment https://forums.phpfreaks.com/topic/16589-flatfilehost-script-weird-problem/#findComment-69560 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 Link to comment https://forums.phpfreaks.com/topic/16589-flatfilehost-script-weird-problem/#findComment-69593 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.