If this is all of the code you're using, it shouldn't come as a suprise that no useful information is returned. You never request any information, you just try to read some environment variables of the local machine the script happens to be running on.
Maybe it would help if you'd clearly state what you'd like to obtain since I have the impression you're mixing up CGI with user agent functionality.
Are you trying to obtain the number of characters of a web page that is specified by an URL?
Regards, -gjb-
In reply to Re: Content Length
by gjb
in thread Content Length
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |