Jump to content

Is there a way to see the time that a php page was requested from the server?


kevinritt

Recommended Posts

Ahh Negative, yes trust $_SERVER. Never trust certian strings provided to the sever from the user such as thier user agent or IP address. As stated by the PHP maual the entries in this array are created by the serve it's self, If the server provides the information and it is not gathered from a outside source is it reliable. After all if you can not trust your server, what can you trust. One more point compare time to the REQUEST_TIME, which comes first? Ahh and you see you are causing undue overhead, by calling a function that has already been set up for you.

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.