|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
|||
|
|||
|
Chances are, if you want to do it, the geniuses behind PHP have predicted it.
http://www.php.net/manual/en/ref.dir.php Use those commands to read all the files in the picture directory. Although if you want to sort them you would have to have some sort of file naming convention that contains the date so your script can tell how to organize it. One suggestion would be to mix mysql and this directory reading method. Have an admin script that you run everytime you dump a bunch of files in the folder. The script compares the new directory to the current list in the mysql db and adds the new files into the mysql db using the current date and time. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I change my gallery picture? | MarkF | CD Forum Support | 2 | 26-03-2003 10:26 |
| picture gallery | Mike Schroeder | CD Forum Support | 5 | 23-09-2002 00:20 |
| Anyway to subscribe to the picture gallery??? | Elgin Clock | CD Forum Support | 2 | 16-05-2002 16:42 |
| Picture gallery counts | Tom Fairchild | CD Forum Support | 2 | 12-02-2002 07:58 |
| new picture gallery | Brandon Martus | General Forum | 9 | 17-07-2001 15:52 |