Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15158 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95029 invoked by uid 1010); 22 Feb 2005 20:39:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94991 invoked from network); 22 Feb 2005 20:39:44 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 22 Feb 2005 20:39:44 -0000 X-Host-Fingerprint: 166.84.1.74 mail3.panix.com FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) Received: from ([166.84.1.74:63111] helo=mail3.panix.com) by pb1.pair.com (ecelerity HEAD r(5097)) with SMTP id 31/E2-08154-0989B124 for ; Tue, 22 Feb 2005 15:39:44 -0500 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail3.panix.com (Postfix) with ESMTP id 9B3BA98192 for ; Tue, 22 Feb 2005 15:39:23 -0500 (EST) Received: (from analysis@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j1MKdNe25504 for internals@lists.php.net; Tue, 22 Feb 2005 15:39:23 -0500 (EST) Date: Tue, 22 Feb 2005 15:39:23 -0500 To: PHP Internals List Message-ID: <20050222203923.GA29028@panix.com> References: <421B913F.8030002@php-tools.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <421B913F.8030002@php-tools.net> User-Agent: Mutt/1.4.2.1i Subject: Re: [PHP-DEV] realpath() and destructors From: danielc@analysisandsolutions.com (Daniel Convissor) On Tue, Feb 22, 2005 at 09:08:31PM +0100, Stephan Schmidt wrote: > > c:\www\projects\pat\patportal\examples > c:\programme\apache group\Apache I found similar weirdness. When using the CGI, on my Windows 2000 machine when doing realpath('.') I get the path to the document root, as expected. But when doing the same thing on my Windows XP Pro machine, it returns the path to my PHP installation. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409