|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-13 18:49 UTC] sterling at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 20:00:02 2026 UTC |
DESCRIPTION Roughly half the time while reading from the directory handle, an invalid Directory resource error occurs. (When page is repeatedly reloaded) SCRIPT # Load Directory Into Array $dir = "../images/"; $handle = opendir($dir); while ($file = readdir($handle)) { if ($file != "." && $file != "..") { $images[count($images)] = $file; } # Clean up and sort closedir($handle); CONFIGURE COMMANDS './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr' '--with-config-file-path=/etc/httpd/conf' '--with-pgsql' '--enable-debugger' '--with-gdbm' '--with-ndbm' ALL PHP.INI SETTINGS ARE DEFAULT