Posted by Dave on 02/21/05 11:15
Thank you all for your responses. The problem is now half solved. In
the majority of cases, using a period before the directory path ( i.e.
../directory ) will give me the correct path to the directory I specify
from the relative path from the web root.
However, it still will not work with the random_image function I
created when called from within the web forum I'm using, which is the
PHP based "Simple Machines Forum".
I will take this inquiry to their support forum to see if there is
any special considerations about their PHP that I should know about.
Thank you all for your time and explanations. I have learned a lot
about the DOCUMENT_ROOT variable.
--
Dave Gutteridge
dave@tokyocomedy.com
Navigation:
[Reply to this message]
|