"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
<snip>
I have a string,
This does not work
  $fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED];
  $fullpath = ereg_replace("\\[^\\]+$","",$fullpath) . '\\';
What have I missed?
Todd
</snip>


-- 
You could just use:

 $path = dirname($fullpath);

  -- Rob



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to