469,883 Members | 1,210 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,883 developers. It's quick & easy.

read(STDIN, $GN_QUERY, 100); doesn't behave on Windows IIS

Hello,

I am using the following perl read function to read form information
from a client web page:

read(STDIN, $GN_QUERY, 100);

Everything works fine on a Linux/Apache server. I get the expected
parameter and value from the form.

When I use the same function on Windows/IIS, the perl script stalls.
When I change it to:

read(STDIN, $GN_QUERY, 0);

I get no information on Windows/IIS. When I change it to:

read(STDIN, $GN_QUERY, 20);

I get truncated information. When I change it to

read(STDIN, $GN_QUERY, 33);

I get exactly what I need. Problem is, I can't anticipate what a user is
going to type.
Has anyone seen this? How can I solve or workaround the problem?

Thanks in advance,

Joe Burnett
Jul 19 '05 #1
0 1938

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by B-Dog | last post: by
3 posts views Thread by ifmusic | last post: by
4 posts views Thread by PeterW | last post: by
1 post views Thread by Ronald S. Cook | last post: by
4 posts views Thread by Adam Funk | last post: by
1 post views Thread by sajit | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.