Hi, Whenever I try and run this .php file <?php $p = getcwd(); echo $p; ?> I get:- Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@xxxxxxxxx and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------------------------------------------------------------- ---- Apache/1.3.28 Server at www.stream.co.za Port 80 This is what I get in the log:- [18/Mar/2004:10:12:54 +0200] "GET /mambo/db_path.php HTTP/1.0" 500 596 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" Any idea ? Regards, Gawie Marais ..: GamCo :.. -------------------------------------- Tel: +27 11 312 0481 Fax: +27 11 312 0483 / +27 82 239 2986 http://www.gam.co.za -------------------------------------- if(empty($beer)) { getbeer() } else { consume($beer) } -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php