in reply to Re: Global program flow
in thread Global program flow
One final note on why I didn't just created static HTML pages to all pictures. That's how the script was born in the first place. I'm very systematic and tidy (no to say obsessive). First time I found pictures and thumbs online there was a directory with 50 pics and a thumbs page that had fifty links to 50 pages all with one IMG tag to one picture. So at the time I thought that was to static (read: messy .. ;-)). So an intelligent script was the solution. What I want it to do eventually is monitor a directory for incoming pictures and have the script do the whole thumbs thing by itself. Practically: I have a cell phone with a camera; I take a picture; I send it to an email adress; After XX seconds you can view the picture online (with a thumbnail and description ofcourse).Exactly. No need for CGI or another form of pages generated on viewer demand. You'd only generate new pages (and update any indexing/overview pages) whenever a new picture arrives. Seen from the server (and hence the viewer), that's static - the pages are there before the viewer requests them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Global program flow
by Mr. Mental (Initiate) on Feb 15, 2005 at 13:36 UTC | |
by Anonymous Monk on Feb 15, 2005 at 15:48 UTC | |
by Mr. Mental (Initiate) on Feb 16, 2005 at 05:43 UTC | |
by Anonymous Monk on Feb 16, 2005 at 10:48 UTC | |
by Mr. Mental (Initiate) on Feb 23, 2005 at 19:10 UTC |