Re: [PHP] problem with download script on safari and ie 7

2007-10-08 Thread Jim Lucas
Hulf wrote: header("Content-Length: ".filesize($file)); Ok, for the third time, I am going to ask, why are you running filesize() on a variable that doesn't exist. You are pulling a variable out of the DB called $size. From the scripts that you posted a few weeks ago, the upload handling sc

Re: [PHP] problem with download script on safari and ie 7

2007-10-08 Thread Robert Cummings
On Mon, 2007-10-08 at 14:59 +0100, Hulf wrote: > The problem I am getting is safari just downloads the .php file. IE7 > corrupts the binary file. It opens fine on FF and IE6. Is this a headers > problem? What's the value of $type? Cheers, Rob. > > Thanks, > > > R. > > > > if(isset($_GET

[PHP] problem with download script on safari and ie 7

2007-10-08 Thread Hulf
The problem I am getting is safari just downloads the .php file. IE7 corrupts the binary file. It opens fine on FF and IE6. Is this a headers problem? Thanks, R. http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php