example:Code: Pascal [Select]program cgiexample;begin writeln(now);end.Sorry, that's all I can find to make cgi simpler ....
Can that work without a writeln('Content-Type: text/html'); writeln; first?
Thaddy, where must i place the executable to run in de webserver? The test APP seems to pop-up with de file download.
I am using a Raspberry Model 3 on Raspbian Jessie with PIXEL 2017-04-10Anybody help on Linux? Howto execute the FPC application through the socket?Preffered Lighttpd, otherwise Apache2 also will do fine.
Just put it wherever your apache config accepts cgi executables (read its documentation if you have no idea).