Al wrote:
> I'm working on a script that can be initiated by a cronjob or from a
> browser.
>
> I want the script to act differently depending on which one called it.
Another solution:
http://us2.php.net/php-sapi-name
I personally think this is the cleanest and most maintainable solution
posted s
On Wed, 2005-01-19 at 07:47, Al wrote:
> I'm working on a script that can be initiated by a cronjob or from a browser.
>
> I want the script to act differently depending on which one called it.
>
> --
I do not know what the definitive answer is but there are a bunch of
environment differences.
I'm working on a script that can be initiated by a cronjob or from a browser.
I want the script to act differently depending on which one called it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo