[PHP-DB] help with file downloads from MySQL

2006-03-21 Thread Mickey Martin
Every time I try to download a file from MySQL it cannot be opened. Using HexEdit, I noticed that all of the files are getting 0a added to the beginning of them (happens with all browsers). I can look at the files with MySQL Query Browser and they don't have the 0a. Using php 4.3.11, Solaris 8,

RE: [PHP-DB] help with file downloads from MySQL

2006-03-21 Thread Mickey Martin
@lists.php.net Subject: RE: [PHP-DB] help with file downloads from MySQL If you load the data into the field with addslashes, have you tried stripslashes on the way out? Bastien From: Mickey Martin [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] help with file downloads from MySQL Date

RE: [PHP-DB] help with file downloads from MySQL

2006-03-21 Thread Mickey Martin
with file downloads from MySQL If you load the data into the field with addslashes, have you tried stripslashes on the way out? Bastien From: Mickey Martin [EMAIL PROTECTED] To: php-db@lists.php.net Subject: [PHP-DB] help with file downloads from MySQL Date: Tue, 21 Mar 2006 12:55:56 -0600 Every time I

RE: [PHP-DB] help with file downloads from MySQL

2006-03-21 Thread Mickey Martin
, March 21, 2006 2:07 PM To: [EMAIL PROTECTED]; php-db@lists.php.net Subject: RE: [PHP-DB] help with file downloads from MySQL If you load the data into the field with addslashes, have you tried stripslashes on the way out? Bastien From: Mickey Martin [EMAIL PROTECTED] To: php-db@lists.php.net Subject

RE: [PHP-DB] help with file downloads from MySQL

2006-03-22 Thread Mickey Martin
it is configured today. Thanks, Mickey -Original Message- From: Giff Hammar [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 3:50 PM To: 'Mickey Martin'; 'Bastien Koert'; php-db@lists.php.net Subject: RE: [PHP-DB] help with file downloads from MySQL Can you use something like this (I haven't

RE: [PHP-DB] help with file downloads from MySQL

2006-03-24 Thread Mickey Martin
line: echo TEST TEXT, $data; When the file is saved, it begins with 0a followed by TEST TEXT and then the start of the file without another instance of 0a. Mickey -Original Message- From: Oskar [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 1:59 AM To: Mickey Martin; PHP db

RE: [PHP-DB] help with file downloads from MySQL

2006-03-28 Thread Mickey Martin
from the queries and it put a newline at the end of the output data. Thanks everyone for the help with this. -Original Message- From: Oskar [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 1:59 AM To: Mickey Martin; PHP db Subject: Re: [PHP-DB] help with file downloads from MySQL