Page 1 of 1

CGI Input ?

Posted: Wed Oct 01, 2003 11:04 am
by ziggy
Hi !

I have a problem reading the input Vars of a called CGI Programm written in PB. I try to get the Input with ProgramParameter() what
works if the prog is called manually from the browser like this:

http://192.168.11.212/cgi-bin/purebasic.exe?Test

but if its called from an Htmlfile over Apache like this:

http://192.168.11.212/cgi-bin/purebasic.exe?terms=Test

ProgramParameter only gives me back an empty String.

Also only the GET action in the HTML form works cause
there seems to be no Command to get the ENV from a
POST action.
Has anyone a Idea howto do this ?

Greetings
Georg

Posted: Wed Oct 01, 2003 3:04 pm
by Kale
viewtopic.php?t=7200

Try the CGI Library from the Resource Site. :)

Posted: Wed Oct 01, 2003 3:06 pm
by Rings
Kale wrote:viewtopic.php?t=7200

Try the CGI Library from the Resource Site. :)
for the linux version ?
that cannot work