View Single Post
Old 04-02-2006, 12:34 PM   #2
paullind
Orange Mole
 
Join Date: Jan 2004
Posts: 30
how to determine ABSOLUTE_SCRIPT_PATH ?

I see another post on troubleshooting how to set this variable, it uses this code:

<?php
echo $_SERVER['DOCUMENT_ROOT']."<br>";
echo $_SERVER['SCRIPT_FILENAME']."<br>";
echo $_SERVER['PATH_TRANSLATED']."<br>";
?>

My output is:
c:/web
c:/php/php.exe
c:\web\phpdig\includes\test.php

Can someone tell me if one of these 3 values are what my ABSOLUTE_SCRIPT_PATH should be?

thx
paullind is offline   Reply With Quote