how to set a golbal constant-value?i want to use the variable anywhere without manual loading it |
[eluser]RING[/eluser]
how to set a golbal variable?i want to use the variable anywhere without manual loading it where should i define the constant-value ? some constant-value just like prefix-db_table-name,or my website-name....
[eluser]murtuza54[/eluser]
Hi use session variables I am not using readymade library of session but i have made my own. but you can get session library details from user guide. its easy and you will have global variables anywhere in your application..
[eluser]pistolPete[/eluser]
You can either create your own config file or define a constant in ./system/application/config/constants.php. |
Welcome Guest, Not a member yet? Register Sign In |