Hulf wrote:
My download script only gives me empty (0kb) xls files. They are being
uploaded as blobs and seem ok. Can someone shed some light on why the
downoad is not working.
Many Thanks,
R.
$query = "SELECT id, file_name, size, type, content FROM results WHERE id =
'$id'";
$result =
Hulf wrote:
My download script only gives me empty (0kb) xls files. They are being
uploaded as blobs and seem ok. Can someone shed some light on why the
downoad is not working.
Many Thanks,
R.
$query = "SELECT id, file_name, size, type, content FROM results WHERE id =
'$id'";
$result =
Hulf wrote:
My download script only gives me empty (0kb) xls files. They are being
uploaded as blobs and seem ok. Can someone shed some light on why the
downoad is not working.
header("Content-Length: ".filesize($size));
I'm thinking this should not be calling filesize.
-Stut
--
http://st
Hi Hulf,
Just looking at it, I'm not sure why it's not working. But here is
the script I use for exporting database files to excel:
$select = "SELECT * FROM ".$table." WHERE FName like '%".$search."%'
or LName like '%".$search."%' or Add1 like '%".$search."%' or Add2
like '%".$search."%'
My download script only gives me empty (0kb) xls files. They are being
uploaded as blobs and seem ok. Can someone shed some light on why the
downoad is not working.
Many Thanks,
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo