help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] Re: newbie question, help heeded


From: Pavel Korshikov
Subject: [help-cgicc] Re: newbie question, help heeded
Date: Wed, 22 Dec 2010 21:25:38 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eduard Bareev <eduard <at> bareev.ru> writes:

> 
cut
>

Hi Eduard,

just enumerate envp array like this:

static string penv(const char * const * envp)
{
    string retValue = "<PRE>\n";
    for ( ; *envp; ++envp)
    {
        retValue += *envp;
                retValue += "\n";
    }
    retValue += "</PRE>\n";
        return retValue;
}

string environmentData = penv(request.envp);


With best regards,
Pavel Korshikov
http://www.itreport.eu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]