> You'll need to prompt the download by sending the appropriate headers.
> Something like..
> <a href=http://www.mydomain.com/downloadmyfile.php>Download</a>
> <? // downloadmyfile.php
> header("Content-Type: application/zip");
> header("Content-Disposition: attachment");
> readfile("file.zip");
> ?>

It's not only .zip file but may be .exe or .rar

That's change something in your code ?

I can put the code to update a database field in the downloadmyfile.php


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to