note 21681 deleted from function.split by irchtml

From: Date: Sat, 12 Jun 2004 21:46:10 +0000
Subject: note 21681 deleted from function.split by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70992@lists.php.net to get a copy of this message
Note Submitter: zorka at zorka dot com ---- If you wanted to read the files off the hard drive and print them to the browser formatted in HTML you could do something like this: $files = ls; // shell out and run the ls command (unix only) $array = split("\n", $files); $count = count($array); for ($i=0; $i<=$count; $i++) { echo "$array[$i]\n"; // add appropiate HTML tags here }

« previous php.notes (#70992) next »