|  | Posted by juglesh on 11/06/05 20:53 
Oli Filth wrote:> 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...
 
 not directly, no, but can i do some thing with header() etc.?  I tried
 <img src='<?php include 'image.php' ?>' >
 I got a 404
  Navigation: [Reply to this message] |