[nycphp-talk] Images//Pages
Joe Crawford
jcrawford at codebowl.com
Mon Jul 12 20:49:13 EDT 2004
have a look at the scandir function but look for
Example 2. PHP 4 alternatives to scandir
that will let you do the same thing in php 4
Joe Crawford Jr.
On Mon, 2004-07-12 at 20:12, Tim Gales wrote:
> 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
>
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
>
More information about the talk
mailing list