You are here: Re: including image, js, css from private dir « All PHP « IT news, forums, messages
Re: including image, js, css from private dir

Posted by Oli Filth on 11/06/05 20:37

juglesh said the following on 06/11/2005 18:28:
> hello, here is my dir structure:
>
> /private
> mainaction.php
> img.jpg
>
> /public_html
> index.php
>
> in index.php, I include mainaction.php. In mainaction.php, i want to
> have
> <img src='<?php insertImageHere ?>' > and have img.jpg show in
> index.php.

If the image file is in a private directory, it can't be accessed by the
outside world, hence it can't be seen in a browser...


--
Oli

 

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

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