Jump to content

cached time


The Little Guy

Recommended Posts

PHP knows nothing about browser.

 

You could perhaps store this time in a cookie....

 

It knows some things, such as browser type/version and a few other things so I thought maybe I would be lucky with this...

 

The cookie Idea is a good one, I'll give it a try!

Link to comment
https://forums.phpfreaks.com/topic/192705-cached-time/#findComment-1015315
Share on other sites

It knows some things, such as browser type/version and a few other things so I thought maybe I would be lucky with this...

it only knows it because the browser sends this information along with the cookies to the server. browsers do not pass on info about downloaded files, so there's no direct way php could know. But ya, cookie method works

Link to comment
https://forums.phpfreaks.com/topic/192705-cached-time/#findComment-1015462
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.