bcarl314
01-31-2003, 11:26 AM
Ok, so the title's a little confusing, but here's what I want to do.
I've got this member area on a website, and I wasnt to allow administrators to be able to upload .pdf and .doc files so only logged on members can view them.
So I've got a page with a verification script that checks to see if their logged in. If they are, it displays a link to it. (Something like <a href='showNewsLetter.php?c=999'>Newsletter</a>)
Now when the user clicks the link, I want the show newsLetterPage to verify the user (again), and, if the user is valid, open the .doc file. But I want to store the .doc file outside of the Apache directory tree so only registered users can get to it.
Any ideas how to do this?
I hope I'm making sense here.
I've got this member area on a website, and I wasnt to allow administrators to be able to upload .pdf and .doc files so only logged on members can view them.
So I've got a page with a verification script that checks to see if their logged in. If they are, it displays a link to it. (Something like <a href='showNewsLetter.php?c=999'>Newsletter</a>)
Now when the user clicks the link, I want the show newsLetterPage to verify the user (again), and, if the user is valid, open the .doc file. But I want to store the .doc file outside of the Apache directory tree so only registered users can get to it.
Any ideas how to do this?
I hope I'm making sense here.