Posted by Greg Donald on 10/20/28 11:24
On 8/18/05, Ashley M. Kirchner <ashley@pcraft.com> wrote:
> Since I don't have a list of
> images in any kind of array (such as a result from DB query)
Sure you do.
#!/usr/bin/php
<?php
$a = array();
$d = dir( '.' );
while( false !== ( $e = $d->read() ) )
{
$a[] = $e;
}
$d->close();
print_r( $a );
?>
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
[Back to original message]
|