G
Guy
I haven't done any Perl for about 5 years. I am using Perl to run a web
site according to the information that it receives from HTML forms. I'm sure
I was using the following:
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
But it appears that this server is not providing this information. What is
the proper way to get this info.
Thanks for all,
G.Doucet
Here is the information that the server is providing: (PS. I removed the
customer's info.)
DOCUMENT_ROOT =
GATEWAY_INTERFACE = CGI/1.1
GDFONTPATH = /services/share/fonts
HTTP_ACCEPT = */*
HTTP_ACCEPT_ENCODING = gzip, deflate
HTTP_ACCEPT_LANGUAGE = en-us
HTTP_CONNECTION = Keep-Alive
HTTP_HOST =
HTTP_UA_CPU = x86
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 1.1.4322)
MvCONFIG_LIBRARY =
/services/websoftware/miva/Empresa/cgi-bin/libmivaconfig.so
PATH = /usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin
QUERY_STRING = t01=Hello
REMOTE_ADDR =
REMOTE_HOST =
REMOTE_PORT =
REQUEST_METHOD = GET
REQUEST_URI = /cgi-bin/photos.pl?t01=Hello
SCRIPT_FILENAME =
SCRIPT_NAME = /cgi-bin/photos.pl
SERVER_ADDR =
SERVER_ADMIN = or webmaster
SERVER_DOMAIN =
SERVER_NAME =
SERVER_PORT = 80
SERVER_PROTOCOL = HTTP/1.1
SERVER_SIGNATURE =
SERVER_SOFTWARE = Apache
site according to the information that it receives from HTML forms. I'm sure
I was using the following:
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
But it appears that this server is not providing this information. What is
the proper way to get this info.
Thanks for all,
G.Doucet
Here is the information that the server is providing: (PS. I removed the
customer's info.)
DOCUMENT_ROOT =
GATEWAY_INTERFACE = CGI/1.1
GDFONTPATH = /services/share/fonts
HTTP_ACCEPT = */*
HTTP_ACCEPT_ENCODING = gzip, deflate
HTTP_ACCEPT_LANGUAGE = en-us
HTTP_CONNECTION = Keep-Alive
HTTP_HOST =
HTTP_UA_CPU = x86
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 1.1.4322)
MvCONFIG_LIBRARY =
/services/websoftware/miva/Empresa/cgi-bin/libmivaconfig.so
PATH = /usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin
QUERY_STRING = t01=Hello
REMOTE_ADDR =
REMOTE_HOST =
REMOTE_PORT =
REQUEST_METHOD = GET
REQUEST_URI = /cgi-bin/photos.pl?t01=Hello
SCRIPT_FILENAME =
SCRIPT_NAME = /cgi-bin/photos.pl
SERVER_ADDR =
SERVER_ADMIN = or webmaster
SERVER_DOMAIN =
SERVER_NAME =
SERVER_PORT = 80
SERVER_PROTOCOL = HTTP/1.1
SERVER_SIGNATURE =
SERVER_SOFTWARE = Apache