Hi,
I didn't mean to able to determine this myself. I was thinking somethink
like
<?php
if (is_debug()) <do something>
else <do something else>
function is_debug()
{
here I need to determine where am I
}
Brona
Dave Goodchild wrote:
Two easy ways - type 'php -v' on the command line or run phpinfo() and
view the output.
On 28/03/06, *Bronislav Klucka* < konference@xxxxxxxxxxxxx
<mailto:konference@xxxxxxxxxxxxx>> wrote:
Hi,
I'm using 2 copies of PHP
1/ on local computer for developing
2/ on web server regular running webs
Is there any way to determine what PHP i'm using? "Where am I?". Can I
somehow define my own constant in php.ini?
Brona
--
PHP General Mailing List ( http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php