CGI Input ?

Linux specific forum
ziggy
New User
New User
Posts: 4
Joined: Mon Aug 04, 2003 2:08 pm

CGI Input ?

Post 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
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

viewtopic.php?t=7200

Try the CGI Library from the Resource Site. :)
--Kale

Image
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

Kale wrote:viewtopic.php?t=7200

Try the CGI Library from the Resource Site. :)
for the linux version ?
that cannot work
SPAMINATOR NR.1
Post Reply