Hi,
and the shorthand for this :
Thanks
Arash Dejkam
""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message
9gvl19$er6$[EMAIL PROTECTED]">news:9gvl19$er6$[EMAIL PROTECTED]...
> 1. Authenticate user
> 2. Put the pictures in a "secret" folder or outside http_root
> 3. Do this:
>
>heade
added the wrong script... arghh...
""Fredrik Arild Takle"" <[EMAIL PROTECTED]> wrote in message
9gvl19$er6$[EMAIL PROTECTED]">news:9gvl19$er6$[EMAIL PROTECTED]...
> 1. Authenticate user
> 2. Put the pictures in a "secret" folder or outside http_root
> 3. Do this:
>
>header("Content-Type: ap
you are so close .. store the images outside the http root. have a php page
verify the user and use
header('content-type: image.jpeg');
readfile('/tmp/image.jpg');
there ya go. its the only way i can see.
--
Chris Lee
[EMAIL PROTECTED]
""Arash Dejkam"" <[EMAIL PROTECTED]> wrote in messag
1. Authenticate user
2. Put the pictures in a "secret" folder or outside http_root
3. Do this:
I hope this helps!
Fredrik A. Takle
[EMAIL PROTECTED]
www.iportal1.com
""Arash Dejkam"" <[EMAIL PROTECTED]> wrote in message
9gvk5g$8o0$[EMAIL PROTECTED]">news:9gvk5g$8o0$[EMAIL PROTECTED]...
> Hi,
Hi,
I'm going to make a page in which users (being authenticated by PHP session
management) upload pictures and specify which other users can see those
pictures, and I want all the process be automated, and I don't want to use
Apache protection on directories, now I have a problem: if I store ima
5 matches
Mail list logo