Page 1 of 1

PHP download script

Posted: Thu Sep 14, 2006 2:40 pm
by giles
Hi

I'm a PHP newbie working on my first project to build a simple form which emails me the content (this I've done successfully) and then triggers a file download. This is where I’m a bit stuck.

I’ve tried (what seem to me to be) obvious things like trying to trigger hyperlinks etc, I’ve searched all over the place for tutorials, (I can find loads of them for uploading), but I can’t find anything for creating a download script.

I’d really appreciate any tips, or URL’s of appropriate tutorials.
Many thanks in advance

Giles

Posted: Thu Sep 14, 2006 2:44 pm
by Luke
header() will be needed. Also... search these forums for "force download" this has been discussed numerous times.