RockinPurdy Posted March 2, 2008 Share Posted March 2, 2008 Hey, I have a session variable ($_SESSION['variable']) and I have it set to false by default, however I want to be able to set it to true after 10 seconds of the page loading. Is this possible.. if so how? Link to comment https://forums.phpfreaks.com/topic/93947-variable-delay/ Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 Is this possible.. No. PHP has no concept of time. Link to comment https://forums.phpfreaks.com/topic/93947-variable-delay/#findComment-481347 Share on other sites More sharing options...
RockinPurdy Posted March 2, 2008 Author Share Posted March 2, 2008 Is there anyway to use javascript to initialize some php code to accomplish this? Link to comment https://forums.phpfreaks.com/topic/93947-variable-delay/#findComment-481352 Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 Can't see why not, but that would be an ajax question. Link to comment https://forums.phpfreaks.com/topic/93947-variable-delay/#findComment-481354 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.