problem.
I was working on a static ad system. The ads are listed in an array
and I would shuffle() the array and then output the first index as the
current ad for that request. It works fine locally but online it does
not. So then I tried using rand(), same problem.
I also noticed on the homepage http://www.gamesync.com/ the Action,
RPG, etc tabs are always on the same tab, but should also be
randomizing with rand(), yet are not. But they work locally.
I really have no idea why the randomizing functions work locally but
not online. Is there some sort of setting or hidden cache function I
don't know about, can anyone enlighten me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment