![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I could maybe do this in flash....but, has anyone found a daily thought script that would allow me to reference a .jpg file for 365 days? I found one that repeats every 31 days but want to implement a new thought everyday for an entire year. Thanks in advance. |
#3
| |||
| |||
|
|
Maybe, would the is a good beginning level database project? I still cannot get my head around creating a db but with CS4 would this be a good way to approach it? Because I would also like it to tie in automatically to something like an opt-in tatango feature. |
#4
| |||
| |||
|
|
Maybe, would the is a good beginning level database project? I still cannot get my head around creating a db but with CS4 would this be a good way to approach it? Because I would also like it to tie in automatically to something like an opt-in tatango feature. |
#5
| |||
| |||
|
|
.oO(tweaked_eye) Maybe, would the is a good beginning level database project? I still cannot get my head around creating a db but with CS4 would this be a good way to approach it? Because I would also like it to tie in automatically to something like an opt-in tatango feature. Hmm, I didn't read the last sentence ... what do you mean with that? Micha |
#6
| |||
| |||
|
|
.oO(tweaked_eye) Maybe, would the is a good beginning level database project? I still cannot get my head around creating a db but with CS4 would this be a good way to approach it? Because I would also like it to tie in automatically to something like an opt-in tatango feature. I don't think you need a DB here. If this is only about images, then why not simply put 366(!) JPEGs into a directory and let the script pick the one for the current day of year? In PHP that would be a one-liner (OK, maybe two lines if you also add a file_exists() check, just in case). Micha |
#7
| |||
| |||
|
|
I am not a php'er...but, any direction you can point me to where I would find that php code would be appreciated. |
#8
| |||
| |||
|
|
.oO(tweaked_eye) I am not a php'er...but, any direction you can point me to where I would find that php code would be appreciated. The most simple one, without any error checking: ?php printf("<img src='/path/to/images/%03d.jpg' alt=''>\n", date('z')); ? This would require JPEGs named 000.jpg, 001.jpg, ..., 365.jpg (date('z') returns the day of year, starting with 0). Micha |
#9
| |||
| |||
|
|
thanks a bunch. |
![]() |
| Thread Tools | |
| Display Modes | |
| |