|
Posted by juglesh on 11/06/05 20: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. I need to do this for a .js file and a .css as well. The
js and css I could easily enough just echo it to the page. (but they
would make my page messy while I'm debugging)
the idea is to have everything in the private dir, and have multiple
sites on my server use the code and the images.
now that I type this, I realize that I could set up a central public
site for the img css js, and use absolute links...
hints, ideas, shoves in right directions appreciated,
--
thanks for your time,
juglesh
Navigation:
[Reply to this message]
|