globally accessing variable in php

Newbie Member
13Apr2007,11:10   #1
deepakagrawal's Avatar
Hello,
I am deepak, i am desiging a website on php, so on can i make a variable in such a way so thai i can access that variable on other file, such as when we declare a extern variable in 'c' and we can access on other file ....
So pls tell me can i do same as on "php".
Thanks
Go4Expert Founder
13Apr2007,11:19   #2
shabbir's Avatar
use the global $Varname and you will get the variable in the other file