RE: [PHP] Downloading MySQL Files

2003-11-10 Thread Erik Osterman
Urldecode(..) may not be binary safe. I'm not sure exactly what type of content it is you are storing in the database for 'fdata', but it sounds like you're misusing urlencode/urldecode. In short, urlencode(..)/urldecode(..) are for encoding URLs and are not the appropriate way to escape binary dat

Re: [PHP] Downloading MySQL Files

2003-11-10 Thread John Hicks
On Monday 10 November 2003 08:07 pm, Stephen Craton wrote: > I have a database which keeps some normal files in > LONGBLOBS. I then call up a file called download.php > to retrieve the file from the database, echo out > it’s contents, and it’s type, and all that so they > download it. > However,

RE: [PHP] Downloading MySQL Files

2003-11-10 Thread Stephen Craton
ECTED] Sent: Monday, November 10, 2003 8:31 PM To: Stephen Craton Subject: Re: [PHP] Downloading MySQL Files On Monday 10 November 2003 08:07 pm, Stephen Craton wrote: > I have a database which keeps some normal files in > LONGBLOBS. I then call up a file called download.php > to retrieve the