🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1142

Re: PHP5 with TidHTTPServer

#1142
From: SD
Date: Fri, 27 May 2005 11:35
20 lines
1829 bytes
"Hans Galema" wrote:

> Can I conclude that TIdHTTPServer does not redirect and execute
> automatically if an exe in the cgi-bin is the URL ?

Yes, TidHTTPServer automatically  don't run nothing.
If you would to run a CGI-BIN you have to call it with CreateProcess.

I've redirected the STDIN-STOUT because in my system all
work with Streams and never with real files.

The contents of my web pages are all zipped and crypted in a
help.lib file, then my WebServer extract desired file (in Stream format)
and pass it to PHP, capture the output with STDOUT and put the
result in the Response Stream output of TidHTTPServer.

In the previus link I've removed the procedure:

ZipCryptFile -> Decrypt ->Unzip -> extract file in a stream and
I directly load a file in the stream only to simplify the example for you.
Technical Details
Message-ID: <429705f1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <opsq9r5jcugmwg2m@localhost> <42957644@newsgroups.borland.com> <42961598$1@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
From: "SD" <nospawm@please.it>
Newsgroups: borland.public.cppbuilder.internet.web
References: <opsq9r5jcugmwg2m@localhost> <42957644@newsgroups.borland.com> <42961598$1@newsgroups.borland.com>
Subject: Re: PHP5 with TidHTTPServer
Date: Fri, 27 May 2005 13:35:09 +0200
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.168.230.137
Message-ID: <429705f1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117193713 217.168.230.137 (27 May 2005 04:35:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail