Php constants in php.ini

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I am trying to set user_agent = PHP_VERSION in php.ini.  In my php.ini  
the instructions say that you can use constants in the php.ini file.  
The only constants I can get to work, though, are the error level  
constants like E_ALL, E_ERROR, E_WARNING, etc., ...

Is anyone aware of some sort of trick to getting others to work?

(I was thinking it would be nice to have the user agent string used by  
my Php scripts to use PHP_VERSION in the string.)

 Chuck Anderson • Boulder, CO
 Integrity is obvious.
 The lack of it is common.

Site Timeline