file upload to database help

  • virose
  • Novice
  • Novice
  • No Avatar
  • Joined: Jul 20, 2005
  • Posts: 27
  • Loc: florida
  • Status: Offline

Post May 11th, 2009, 6:20 pm

it's opening itself for download for some reason. instead of pulling the database file.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 11th, 2009, 6:20 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 11th, 2009, 7:03 pm

Try putting:
Code: [ Select ]
 
ob_flush();
 
  1.  
  2. ob_flush();
  3.  

after you echo.

Also, what kind of file_type is it? What kind of files are you trying to show? Images? Video? Text? Dynamic? Any?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • virose
  • Novice
  • Novice
  • No Avatar
  • Joined: Jul 20, 2005
  • Posts: 27
  • Loc: florida
  • Status: Offline

Post May 11th, 2009, 7:25 pm

just text files
  • virose
  • Novice
  • Novice
  • No Avatar
  • Joined: Jul 20, 2005
  • Posts: 27
  • Loc: florida
  • Status: Offline

Post May 11th, 2009, 7:31 pm

yeah that did not change it
  • virose
  • Novice
  • Novice
  • No Avatar
  • Joined: Jul 20, 2005
  • Posts: 27
  • Loc: florida
  • Status: Offline

Post May 15th, 2009, 11:10 am

Thanks for all the help guys.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 15th, 2009, 1:11 pm

So, did you get it figured out?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • virose
  • Novice
  • Novice
  • No Avatar
  • Joined: Jul 20, 2005
  • Posts: 27
  • Loc: florida
  • Status: Offline

Post May 15th, 2009, 4:37 pm

yeah for the most part i'm just trying to get around globals now on my server i started another topic for it.http://www.ozzu.com/programming-forum/help-getting-this-upload-file-scrip-around-globals-being-off-t97629.html

Post Information

  • Total Posts in this topic: 22 posts
  • Users browsing this forum: No registered users and 163 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.