开发者

php http pipeline

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜