Ok, this one could be a bit tricky to answer. Or maybe not. 🙂
I have a client that wants to be able to connect to their web site from their cell, and be able to download images from their web site.
Does anyone know how to make this happen?
I realize that the web site would need to be in wml format. I have no problems with that.
I tried this:
<?
// Might want to pass this in from another page
$filename="Images/CellBD.jpg";
$contentType = filetype($filename);
header("Content-Type: $contentType\n");
header("Content-Disposition: attachment; filename=".basename($filename));
readfile($filename);
?>
Now, that works just fine from a regular browser, but won't work on a cell phone.