Go to Post It doesn't matter if students get inspiration from planning to creating to manufacturing to purchasing to watching to engineers creating the parts etc etc etc. As long as students are getting Inspired, FIRST is doing it's mission. - David Kelly [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 23-12-2002, 07:18
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
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
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 11:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi