Many thanks everyone.

Seems like I should be using constants a lot of places where I've been using globals.

Al wrote:

Can someone explain to me the value of using defined custom constants, in the context of good coding practice.

I don't recall ever seeing define() used in the scripts I've seen and only the characteristics are described in the my php book and the php manual; but, not the use.

Thanks.....

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



Reply via email to