You are here: Re: Sending an image to a browser « PHP Programming Language « IT news, forums, messages
Re: Sending an image to a browser

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]


Удаленная работа для программистов  •  Как заработать на 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

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