in reply to PHP to CGI

Not sure about the session_cache_limiter() thing, but all the header() stuff can be accomplished through the CGI module's header() function. Have a look.

Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
            --Friedrich Nietzsche