can current php script rotate a new folder of images?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dinrock
Forum Newbie
Posts: 16
Joined: Fri Feb 11, 2005 10:24 am
Location: Michigan

can current php script rotate a new folder of images?

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

:roll:


Moved to Job Hunt.
dinrock
Forum Newbie
Posts: 16
Joined: Fri Feb 11, 2005 10:24 am
Location: Michigan

???????

Post by dinrock »

Your response is all greek to me. Just wanted a simple feedback. Not sure I understand. thanks for trying
dinrock
Forum Newbie
Posts: 16
Joined: Fri Feb 11, 2005 10:24 am
Location: Michigan

also

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

post the entire script, we'll see if we can help.

Moved back to PHP - Code.
dinrock
Forum Newbie
Posts: 16
Joined: Fri Feb 11, 2005 10:24 am
Location: Michigan

here is my entire script

Post by dinrock »

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

no.. the source code. I don't care what it outputs.
dinrock
Forum Newbie
Posts: 16
Joined: Fri Feb 11, 2005 10:24 am
Location: Michigan

Post by dinrock »

wish I had the source code. This is why I have this concern. sorry
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you have ftp access to the script? download it, copy contents and paste them here.
Post Reply