in reply to Recalling the URL of initiating page

It is not 100% reliable but it seems that most servers will give the DOCUMENT_URI environment variable - we have used this in the NMS programs that are designed to be used with SSI and the only server we have had confirmed that this doesn't work for is Xitami.

/J\

Replies are listed 'Best First'.
Re^2: Recalling the URL of initiating page
by sulfericacid (Deacon) on Jan 24, 2005 at 16:49 UTC
    Thank you!! $ENV{REQUEST_URI} and $ENV{DOCUMENT_URI} are just what I needed! It doesn't give the full URL but I can easily prepend my domain.

    This is perfect and it'll save hours of time instead of having to send params to the script.

    Thank you for your help everyone!



    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid