Posted by Betikci Boris on 12/21/07 16:46
On Dec 20, 2:57 pm, "Bob Bedford" <b...@bedford.com> wrote:
> Hello,
>
> I'm trying to show images that are in a protected directory. I can't move
> those images and I can't set the path rights
> The path of my script:
> home/www/xxxxxxxxxx/web/showimages.php
> The path of the images:
> home/www/xxxxxxxxxx/stats/image.png
>
> home/www/xxxxxxxxxx/web/ is the root of the website.
>
> Now I've tried so far:
> <IMG SRC="../stats/usage.png"> //this asks the user and pass for the
> protected directory
> <IMG SRC="home/www/xxxxxxxxxx/stats/image.png"> //this showshttp://www.mysite.com/home/www....inimage properties
> <IMG SRC="/stats/image.png"> //this one also asks for user and pass of the
> protected directory.
>
> Si my question is: how to show this image on this page ?
>
> Thanks a lot for helping.
>
> Bob
The usage is something like that;
$url = 'http://username:password@hostname/path?arg=value#anchor';
[Back to original message]
|