#32243 [Opn->Bgs]: i am trying to search a dir

From: Date: Wed, 09 Mar 2005 06:03:38 +0000
Subject: #32243 [Opn->Bgs]: i am trying to search a dir
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-27644@lists.php.net to get a copy of this message
ID: 32243 Updated by: dave@php.net Reported By: darkjedi3 at gmail dot com -Status: Open +Status: Bogus Bug Type: Website problem Operating System: windows xp PHP Version: Irrelevant New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Even if you think it is not a bug, we often know better than you, please consult the support channels first before even considering to reopen this report. Thank you for your interest in PHP. This is not a bug. Contact php-general@lists.php.net with your issue. Previous Comments: ------------------------------------------------------------------------ [2005-03-09 05:57:53] darkjedi3 at gmail dot com Description: ------------ im am trying to search a dir, then spit out the files or whatever. i might not be able to search the dir though. Reproduce code: --------------- <? //this script searchs C print("<html>Files in C:\<br><br>"); $filesInC = scandir("C:\"); $numOfFilesInC = count($filesInC); $i = 0; while($i<$numOfFilesInC) { print("$i. $filesInC[$i]<br>"); $i++; } print("</html>"); //done ?> Expected result: ---------------- Files in C:\ hello.txt randomfile.htm randomfile.whatever windows documents and settings program files Actual result: -------------- Parse error: parse error, unexpected T_VARIABLE in /drive2/fpgshttpd/darkjedi3/Anti-Virus/open.php on line 9 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32243&edit=1

« previous php.mirrors (#27644) next »