Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29402 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51325 invoked by uid 1010); 11 May 2007 08:09:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51310 invoked from network); 11 May 2007 08:09:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2007 08:09:41 -0000 Authentication-Results: pb1.pair.com header.from=news@sea.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:38836] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/0E-20961-4C424464 for ; Fri, 11 May 2007 04:09:40 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HmQBu-0008Qw-TH for internals@lists.php.net; Fri, 11 May 2007 10:09:30 +0200 Received: from dslb-084-057-157-109.pools.arcor-ip.net ([84.57.157.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 May 2007 10:09:30 +0200 Received: from carsten_sttgt by dslb-084-057-157-109.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 May 2007 10:09:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Fri, 11 May 2007 10:07:15 +0200 Lines: 26 Message-ID: References: <46441C00.1010107@e-novative.de> Reply-To: "Carsten Wiedmann" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: dslb-084-057-157-109.pools.arcor-ip.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Sender: news Subject: Re: [PHP-DEV] Question about bug #41262 From: carsten_sttgt@gmx.de ("Carsten Wiedmann") Stefan Priebsch schrieb: > I always use something str_replace('\\', '/', $aFilename) before I work > with filenames, and normally have no cross-plattform issues with that. I > also do it after using realpath(), for example. I know. It's really a pain. In many times you must correct the PHP behavior in your PHP code :-/ (Or just use pcre for such tasks) On my bsd box (only PHP 5.0x) it's also curious when I try to build batchfiles for Windows. A "dirname('C:\\Windows\\foo')" returns "." ... (Maybe it's correct if I upgrade PHP?) > I know this is not really to the point, but it might just help you work > around the problem. It's not a current problem from me. Only a point which IMHO should be corrected. But thanks anyway. Regards, Carsten