D:\Htdocs\gilardi\barcode\php\testwrite.php
from
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
I want to remove the "testwrite.php" leaving
D:\Htdocs\gilardi\barcode\php\
This does not work
$fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
$fullpath = ereg_replace("\\[^\\]+$","",$fullpath) . '\\';
What have I missed?
Todd
--