NYCPHP Meetup

NYPHP.org

Setting Constants Globally?

Jim Musil jmusil at villagevoice.com
Fri May 9 12:33:51 EDT 2003


Hi,

Pardon me if the answer to this question is obvious, but is there a way to
define my own constants that are global for all php scripts?

I see that I could auto_prepend a file to every script, but I'm more
interested in being able to set my own constant.

Something like PATH_TO_DEVTOOLS ...

Maybe there is a better way to do something like this?



Jim





More information about the talk mailing list