Anders Norrbring wrote:
> Is there a good way to detect in a script if it's called locally from
> command line, or via a remote browser?

Check out <http://www.php.net/manual/en/function.php-sapi-name.php>.

Greetings
m.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to