Page 1 of 1

can current php script rotate a new folder of images?

Posted: Fri Feb 11, 2005 10:37 am
by dinrock
Need help concerning a php script I had someone develop specifically to rotate a new cartoon each day on my index page. To help understand, visit http://www.danscartoons.com & note the cartoon there which changes automatically via php script every 24 hours at 2am eastern time. If you view my html, you'll see the script (http://www.danscartoons.com/cotd/dailycartoon.php) .I initially uploaded a folder of a full year's worth of cartoons which that script rotates. I named the images consecutively as follows: dc1.gif, dc2.gif dc3.gif through dc365.gif (dc stands for daily cartoon). That folder of cartoons will soon be running dry on March 4 and I am worried. Keep in mind I did not write the script or know anything much about php but want to ask here if when March 4 arrives (I have a new folder with 365 more cartoons I could upload then) I can delete the existing folder of cartoons and upload my new replacement folder? Without altering anything pertaining to the php script? Is this OK to do? I'll simply name my new upcoming folder the same thing I assume. I hope all of this makes sense. The php guy I had has deserted me and left me in the dust and now I could really use some help. Any info, feedback, comments, constructive criticism would be greatly appreciated. E-mail me directly if you wish but I will certainly check here.
Thanks,
Dan

PS: Also in my new folder, I did the same for all cartoons which I labeled as dc1.gif - dc365.gif

Posted: Fri Feb 11, 2005 11:00 am
by feyd
:roll:


Moved to Job Hunt.

???????

Posted: Fri Feb 11, 2005 11:16 am
by dinrock
Your response is all greek to me. Just wanted a simple feedback. Not sure I understand. thanks for trying

also

Posted: Fri Feb 11, 2005 11:18 am
by dinrock
that php script I put in parenthesis just for reference purposes. You may not have digested my post completely as you will note, I am not a php script writer. Only incorporate it on my site. If anyone can recommend a more "general" forum where things are spoken in a non-technical way, that would be great.

Posted: Fri Feb 11, 2005 11:31 am
by feyd
post the entire script, we'll see if we can help.

Moved back to PHP - Code.

here is my entire script

Posted: Fri Feb 11, 2005 11:42 am
by dinrock

Posted: Fri Feb 11, 2005 11:53 am
by feyd
no.. the source code. I don't care what it outputs.

Posted: Fri Feb 11, 2005 12:02 pm
by dinrock
wish I had the source code. This is why I have this concern. sorry

Posted: Fri Feb 11, 2005 12:03 pm
by feyd
you have ftp access to the script? download it, copy contents and paste them here.