mu.nu - We're sorry we accidentally destroyed your panties.

September 02, 2004

Let's Say

Let's say I have two web pages and I only want to
load the one that is the newer of the two.
How can I determine which is newer without loading them both first?
Sort of a load a page and it forwards you to the newer(of the two) page.
I know how to do the forward. Just not the choosing which to forward to.

Of course I'd like to know in the context of using the tools availible here to me as a munuvian.

Can anybody help me?

Madfish Willie? Pixy? Bueller?

Update, the decision part is figured out, now all I need is a php utility/command that returns the date when a file/url was updated.

Posted by: spacemonkey at 05:43 PM | Comments (74) | Add Comment | Trackbacks (Suck)

1 If I understand your question... You would have to use Javascript or PHP or some other scripting language and set up a conditional statement... if [condition true], then [operation A], else [operation B]... that type of thing

Posted by: Madfish Willie @ at September 02, 2004 09:45 PM

2 Exactly , but I am having no luck finding a utility/command to tell me when a file was updated(no luck finding one that works as advertised anyway .
The decision part I've got figured out, now.

Posted by: spacemonkey @ at September 03, 2004 02:49 PM

3 YOu may want to check out Javascript.com... or do a google for php scripts and/or javascripts...

Posted by: Madfish Willie @ at September 04, 2004 08:58 PM

Hide Comments | Add Comment






Processing 0.01, elapsed 0.0113 seconds.
22 queries taking 0.0087 seconds, 25 records returned.
Page size 7 kb.
Powered by Minx 0.8 beta.