howto - read global vars in custom C extension

From: Thomas Lassak (tlassak_at_web.de)
Date: 11/29/03


Date: Sat, 29 Nov 2003 15:25:56 +0100

Hi,

i have just started experimenting with PHP extension in C.
Works nicely so far.

Does anybody know how to read (no write needed) global PHP vars
within the C extension code ? I am not that familiar with the zend API
yet and haven't found sample code on the net so far.

I need to go for some piece in the $_SERVER[] during a C function.

Thanx