Re: Reading Folders
From: Harrie Verveer (newsgroup{remove-this}_at_harrieverveer.com)
Date: 11/09/04
- Next message: Samuël ML Lison: "Re: Newsletter Program"
- Previous message: Matt Bradley: "Re: Reading Folders"
- In reply to: DaRemedy: "Reading Folders"
- Next in thread: DaRemedy: "Re: Reading Folders"
- Reply: DaRemedy: "Re: Reading Folders"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 09 Nov 2004 10:45:03 +0100
the previous replies say it all.. however it might be nice to
automatically create thumbnails as well with GDlib, while you're looping
through the files:
http://nl3.php.net/manual/en/function.imagecopyresampled.php (nice)
or
http://nl3.php.net/manual/en/function.imagecopyresized.php (crappy)
DaRemedy wrote:
> Hiya,
>
> If I had several folders full of images, how can I get PHP to open the
> folder, read the image names and save the image names (inc extension) to a
> MySQL database?
>
> What I am trying to do is create an image gallery using PHP/MySQL, so that
> everytime i take a load of pics, all I would have to do is get PHP to read
> the contents of the folder and add the filenames to a MySQL database rather
> than having to manually input the names into the database
>
> Any help would be great.
>
> Cheers.
>
> DaRemedy
>
>
- Next message: Samuël ML Lison: "Re: Newsletter Program"
- Previous message: Matt Bradley: "Re: Reading Folders"
- In reply to: DaRemedy: "Reading Folders"
- Next in thread: DaRemedy: "Re: Reading Folders"
- Reply: DaRemedy: "Re: Reading Folders"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|