Connecting Tech Pros Worldwide Forums | Help | Site Map

super global

stef
Guest
 
Posts: n/a
#1: Aug 17 '08
Hello,
I'm writing a C extension and I would like to know how can I do to
read a "super global" like _ENV in my code

I'm trying things like

if (zend_hash_find(CG(auto_globals), "_ENV", sizeof("_ENV"),
(void**)&a ) == SUCCESS)
...

but after that, what's next if I wanna read "CLIENTNAME" for example ?

thanks for your help.


Closed Thread