Not true. I can determine the URL of the document either by passing it from
the form to the script, or because I know what it's going to be ahead of
time. The physical location of the document however is not possible to
assertain portably from one site from another. As far as I can tell, even
DOCUMENT_ROOT doesn't work if you are using aliases to point out of the
source tree. The root directory of my particular web site is the one thing
I have to hard code in a script config file as I move a site from a staging
area to the final location. Maybe the cern server has a working solution
to this, but I can't find one under NCSA 1.3 or Apache.
Kee Hinckley Utopia Inc. - Cyberspace Architects=81 617/721-6100
nazgul@utopia.com http://www.utopia.com/
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.