Req #50197 [Opn->Asn]: long filenames

From: Date: Wed, 01 Dec 2010 15:31:14 +0000
Subject: Req #50197 [Opn->Asn]: long filenames
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156652@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=50197&edit=1 ID: 50197 Updated by: jani@php.net Reported by: jandidrik dot fagerlid at hotmail dot com Summary: long filenames -Status: Open +Status: Assigned Type: Feature/Change Request -Package: Feature/Change Request +Package: Filesystem function related Operating System: winxp 32bit PHP Version: 5.3.0 -Assigned To: +Assigned To: pajoye Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2009-11-16 22:40:22] jandidrik dot fagerlid at hotmail dot com Description: ------------ Firstly, thank you for your hard work, it is appreciated. It seems filemtime will not accept file paths longer than 256 chars. I have some long dir names consisting of totally 165 chars, and a file inside it consisting of 94 chars. The script doesnt exit, but i get a warning and a NULL result. Warning: filemtime() [function.filemtime]: stat failed for [file.php] in [dir] on line # Reproduce code: --------------- #$path = string 165 chars #$file = string of 94 chars filemtime($path."/".$file); Expected result: ---------------- timestamp for file Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=50197&edit=1

« previous php.bugs (#156652) next »