Article View: borland.public.cppbuilder.internet.web
Article #1141Re: PHP5 with TidHTTPServer
From: Hans Galema
Date: Thu, 26 May 2005 18:26
Date: Thu, 26 May 2005 18:26
16 lines
1593 bytes
1593 bytes
SD wrote: > I've already done the same thing usign TidHTTPServer and PHP5 cgi. > All work very well and fine for me. > You can watch my code at: > > http://www.open-shadow.org/files/helpengine.zip That program works like a charm. That is beautifull code that you posted. You redirect stdin and out and use CreateProcess to run php-win.exe. Nothing more to do if one planned to do so ... Can I conclude that TIdHTTPServer does not redirect and execute automatically if an exe in the cgi-bin is the URL ? Hans.
Technical Details
Message-ID:
<42961598$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<opsq9r5jcugmwg2m@localhost> <42957644@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2958e21cf5db1a55 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 26 May 2005 20:26:36 +0200 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: PHP5 with TidHTTPServer References: <opsq9r5jcugmwg2m@localhost> <42957644@newsgroups.borland.com> In-Reply-To: <42957644@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <42961598$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117132184 129.125.201.248 (26 May 2005 11:29:44 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail