Jump to content


Photo

flatFileHost script weird problem


  • Please log in to reply
2 replies to this topic

#1 ge00rge

ge00rge
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 04 August 2006 - 08:49 PM

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 -->http://www.jpg.gr/images4/error.jpg ,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:
order allow,deny
deny from all

root dir htaccess file:
<Files *.txt>
order allow,deny
deny from all

Any ideas why is this happening?

#2 hackerkts

hackerkts
  • Members
  • PipPipPip
  • Advanced Member
  • 593 posts
  • LocationSingapore
  • Age:18

Posted 05 August 2006 - 01:24 AM

I don't think it should be here, this is 3rd party script.

Regards,
hackerkts

To be a coder, you must learn how to think and not to give up so easily.


#3 lordphate

lordphate
  • Members
  • PipPipPip
  • Advanced Member
  • 154 posts

Posted 05 August 2006 - 03:02 AM

flathostfile has its own forum, and you need to set the headers as a filetype input




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users