Reputation: 1
Is it possible to get every request to server using Javascript or PHP if javascript not possible ? Thx for helping me...
Upvotes: 0
Views: 509
Reputation: 30414
No, neither Javascript nor PHP will allow this. Your server, however, is probably already logging all requests. Apache does and I'm sure just about all other web servers do the same. You can read those log files with PHP if you need to display something from them in a web application. There are also numerous "log analysis" applications you can use to see the requests in a more graphic form.
Upvotes: 1
Reputation: 1551
With PHP you should be able to get all server requests with
$_REQUEST
http://us.php.net/manual/en/reserved.variables.request.php
Upvotes: 0