Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-13-2005, 08:15 AM
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
Hey does anyone know any script I can use the achieve the following:

I have several pictures (many hundreds) that I would like to display on my homepage - a new one each day.

I have tried several scripts but many of them only allow for 7 images (one for each day of the week) or one for everyday in a month. Are there any scripts that will just accept a long list of images and keep displaying the next on a list every day until the list ends and it begins again?

If possible I would prefer to use JavaScript as the server this page is on does not support ASP or PHP - although I do have access to a server with ASP - but its difficult linking into it, if that makes sense.
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
 
Register now for full access!
Old 08-13-2005, 08:20 AM
monkey's Avatar
Ultra Talker

Posts: 487
Trades: 0
sounds like you need a custom script. i can point you to some people if you need.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
Old 08-13-2005, 08:25 AM
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
That would be useful, but I cant really pay anything :-(

Are there no scripts like this available anywhere?
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 08-13-2005, 11:02 AM
NuWeb.co.uk's Avatar
NuWeb.co.uk is OFFLINE

Posts: 361
Trades: 0
Code:
<?php

$today = date('l');

if (file_exists($image_folder."/".$today.".php")) {
echo "<img src=\"$image_folder/".$today.".php\">";
}
else {
echo "No image was found for $today";
}

?>
ok, so that code above displays if monday monday.php .. so now u need to create a randomisor kinda code thing.. Somoen allready posted a random code thing somewhere on the forum

So u use that, as monday.php to select random .gif's

.. rough codeing.. BUt you should be able to do it.
__________________

Please login or register to view this content. Registration is FREE


NuWeb 10101101
NuWeb.co.uk is offline
Reply With Quote
View Public Profile Visit NuWeb.co.uk's homepage!
 
Old 08-13-2005, 11:16 AM
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
Sorry, I can't use PHP...
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 08-13-2005, 03:29 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
What about Perl or Python?
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 08-13-2005, 05:50 PM
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
I don't think so. I could if I host it on a different server (which I can do) and then link into it somewhow, perhaps via an iframe or something.
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Reply     « Reply to New picture each day
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32858 seconds with 12 queries