Reply to Re: image src and relative path

Your name:

Reply:


Posted by Bob Bedford on 12/20/07 21:34

Hello Lars, thanks for answering.
> Not possible. Put the images in a world-readable directory or have users
> enter username and password. Why in the world would you think otherwise?
>
> You seem to want two contradictory and mutually exclusive things: you want
> the images protected (otherwise, why did you put them in a protected
> directory?) and you want them publicly accessible (otherwise why do you
> object to authentication?) You cannot have both.
>
>> I can't move those images and I can't set the path rights
>
> Then copy them to an unprotected directory.

It's in a protected directory becuse they are statistics for the website and
the Hosting company decided so and it can't be changed.
I'm the webmaster and I can give access to the client to certain directory
(where they are my scripts) so the concurrents can't see what's appening as
this is a secret.

Also I've tried to do a "imagepng()" but instead of showing the image it
shows the source of the image.
The possibility to show images exists (you can show a document with imagejpg
or others) so why not if coming from a protected directory ?

Bob

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация