Posted by Captain Paralytic on 07/27/07 10:50
On 27 Jul, 11:43, Vernon Wenberg III <vwenb...@gmail.com> wrote:
> I have an image that resides in a directory that isn't accessible on the
> web, however I want to be able to send that image via PHP without making
> it directly accessible on the web. The URL would be something like this
> .. image/username/image-name.
>
> The reason I want to do this is so that I can do authentication on the
> user before having it pushed to the browser. How would I be able to do this?
http://uk.php.net/manual/en/function.readfile.php
Navigation:
[Reply to this message]
|