czukoman20 Posted March 12, 2008 Share Posted March 12, 2008 I have this constant. Its a timer that is set to a default 100 days. What do these numbers mean. define("COOKIE_EXPIRE", 60*60*24*100); Link to comment https://forums.phpfreaks.com/topic/95744-im-in-a-rush-help-pls-cookie-expire-time-setting/ Share on other sites More sharing options...
Northern Flame Posted March 12, 2008 Share Posted March 12, 2008 60*60*24*100 60 - 60 seconds = 1 minute * 60 - 60 seconds * 60 = 1 hour * 24 - 1 hour * 24 = 1 day * 100 - 1 day * 100 = 100 days Link to comment https://forums.phpfreaks.com/topic/95744-im-in-a-rush-help-pls-cookie-expire-time-setting/#findComment-490224 Share on other sites More sharing options...
czukoman20 Posted March 12, 2008 Author Share Posted March 12, 2008 how would i do 30 min....30*60 ? Link to comment https://forums.phpfreaks.com/topic/95744-im-in-a-rush-help-pls-cookie-expire-time-setting/#findComment-490226 Share on other sites More sharing options...
czukoman20 Posted March 12, 2008 Author Share Posted March 12, 2008 am i right or am i wrong and im justa noob that nobody really wants to respond to Link to comment https://forums.phpfreaks.com/topic/95744-im-in-a-rush-help-pls-cookie-expire-time-setting/#findComment-490231 Share on other sites More sharing options...
vasoftwaresolutions Posted March 12, 2008 Share Posted March 12, 2008 how would i do 30 min....30*60 ? yes 30*60*24*100 Link to comment https://forums.phpfreaks.com/topic/95744-im-in-a-rush-help-pls-cookie-expire-time-setting/#findComment-490232 Share on other sites More sharing options...
czukoman20 Posted March 12, 2008 Author Share Posted March 12, 2008 Thank you soooo much man. Link to comment https://forums.phpfreaks.com/topic/95744-im-in-a-rush-help-pls-cookie-expire-time-setting/#findComment-490233 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.