|
Posted by Zoe Brown on 05/15/07 11:34
"Good Man" <heyho@letsgo.com> wrote in message
news:Xns9930B67EA98F5sonicyouth@216.196.97.131...
> Good Man <heyho@letsgo.com> wrote in
> news:Xns9930B5E3AE347sonicyouth@216.196.97.131:
>
>> 3) A user *must* be logged in to retrieve the file. If you go with
>> the file/directory renaming route, your user can bookmark the link to
>> the secret PDF and pass it on to whomever they wish. With my proposed
>> system, "streamFile.php" checks to see if the user is logged in before
>> allowing the file to stream, and for users who aren't on your system -
>> well, they can't download the file at all.
>
> I should mention that the code for "streamFile.php" that I posted had the
> "is the user logged in?" test removed for brevity :)
thanks for the time you have taken to respond to my questions. It has been
a great help. am I allowed to cut your code and use a a starting point for
mine ? Oh and - probably daft question, can I use the smae method for all
file types ?
Navigation:
[Reply to this message]
|