NYCPHP Meetup

NYPHP.org

[nycphp-talk] Images//Pages

Tim Gales tgales at tgaconnect.com
Mon Jul 12 20:12:37 EDT 2004


 Yury Rush writes:

... I have 20 folders, each folder has 10 
> various images in it. I'd like to build a web page and 
> directories for each image like so:
> 
> /people/john.php  ( containing johns picture and some 
> php/html design includes )
> 
> is there a simple/fast way to do this?
> 

have a look at scandir (PHP 5 only)
http://www.php.net/manual/en/function.scandir.php 

and then 

http://pear.php.net/package/PHP_Compat/docs/1.1.0/PHP_Compat/_PHP_Compat-1
.1.0_Compat_Function_scandir_php.html

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com





More information about the talk mailing list