开发者

php http pipeline

开发者 https://www.devze.com 2023-01-02 06:14 出处:网络
I\'m trying to get timestamp on beginRequest and on endReques开发者_StackOverflow社区t when processing an http request using php. I know how to do it on asp.net (using httpModules and the finction beg

I'm trying to get timestamp on beginRequest and on endReques开发者_StackOverflow社区t when processing an http request using php. I know how to do it on asp.net (using httpModules and the finction beginRequest and endRequest). Does anyone know if this option is available on php and guide me how to do it? (I'm not looking for a solution, just some guiding or good reference because i couldn't find any...)


$_SERVER['REQUEST_TIME'] has the Unix timestamp of the request. If you want precise times, use microtime

0

精彩评论

暂无评论...
验证码 换一张
取 消