note 128269 added to directory.read

From: Date: Thu, 02 Mar 2023 11:24:37 +0000
Subject: note 128269 added to directory.read
Groups: php.notes 
Request: Send a blank email to php-notes+get-220226@lists.php.net to get a copy of this message
use while ($row=$dir->read()){ // your code } to get a list of all files and directories. You can definitely use the "for" and other loops. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 59.174.234.37) ---- Manual Page -- https://php.net/manual/en/directory.read.php Edit -- https://main.php.net/note/edit/128269 Del: integrated -- https://main.php.net/note/delete/128269/integrated Del: useless -- https://main.php.net/note/delete/128269/useless Del: bad code -- https://main.php.net/note/delete/128269/bad+code Del: spam -- https://main.php.net/note/delete/128269/spam Del: non-english -- https://main.php.net/note/delete/128269/non-english Del: in docs -- https://main.php.net/note/delete/128269/in+docs Del: other reasons-- https://main.php.net/note/delete/128269 Reject -- https://main.php.net/note/reject/128269 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220226) next »