Hi,

I just wanted to know if anyone is able to receive more than 40 characters from a http query_string, like the folowing url:

http://local/test.exe?<........i want like 1000 characters max as querystring.......>


The call:

invoke GetEnvironmentVariable,ADDR qwerty,ADDR querytext,1000

is not working on my comp. but receives 40 chars to the max and above that nothing.

I'm running asm cgi's under iis5.1 webserver.

Thanx in advance.
Greetz
Eisodur
;)
Posted on 2003-09-19 17:56:16 by eisodur
No.

It's limited to 255 (or 256, can't remember).

Use the POST method on the form (use a form).

With POST, you'll use the environment variable $ENV{CONTENT_LENTGH} in conjuction with read STDIN

p.s. Unless you're inviting an attack, don't use IIS. USE APACHE on a linux box with firewall, etc.
Posted on 2003-09-20 04:38:52 by eet_1024
256 128 512 etc
Posted on 2003-09-20 06:11:03 by mrgone
...or at least configure IIS correctly.
Posted on 2003-09-21 05:53:50 by f0dder
Mr. Gone,

The maximum length of an environment variable is NOT 128 or 512. It is 255!!!
Posted on 2003-09-22 23:04:17 by eet_1024
Hey sorry about that bubba. That what I like about this board. You earn things :)
Posted on 2003-09-23 06:47:51 by mrgone