PDA

View Full Version : How can I directly download an attachment


bhutz
08-24-2004, 10:41 AM
Hi I was hoping someone could give me some advice with an issue I am having relating to accessing my attachments through WAP.

I would like to provide a direct link on a WAP device to download a file stored in my attachment database. The problem is that the file attachment.php does a few checks to see if you are logged in etc which is more than I want.

I simply want to understand what part of attachment.php I need to strip out and put into a new php page which I can use to generate a link to the attached file in my database/file store.

Anyone done anything like this already?