You're going to have to be a lot more specific. Who's accessing the web site? A PHP script? A user through their browser? And the latter part of your question is a little vague.. "commands issued"? Please try again. A short paragraph with a little less ambiguity would be nice.