The title is quiet straightforward. I have to know on server side if the script called through HTTP request or by command line. I could examine the $_SERVER[\'argv\']<
$_SERVER[\'argv\']<