You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by johnd <jo...@roiad.com> on 2001/12/06 21:58:50 UTC

cgi stdin - sorry my error

Sorry...

please ignore the prev question...the vars are passed on stdin...
My script had an extra line that was reading in and disregarding the data.

new script if you care to see:



#!/usr/bin/python

import sys, os

print "Content-type: text/html\n\n"
inp=sys.stdin
print "about to show vars"
while 1:
	line=inp.readline()
	if line=="":
		break
	print line

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org