473,386 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 2052

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe | last post by:
I am trying to read the EventLog of different servers on the network. If I run the script in a command line, it works well. But when I try to put the script into the Web server (IIS in Windows...
0
by: sumGirl | last post by:
Anyone nkow how to read the windows system event log from SQL server? Preferably an sp I guess.
3
by: B-Dog | last post by:
Is it possible to read the windows install key for 2k and xp? If so could someone point me to some code or website. Thanks Barclay
3
by: ifmusic | last post by:
Hi!, i have a "server-like" application: i use select to accept and recieve data from Sockets. I want to Add a menu to this app something like "pick an option" thing, but it has to show data...
4
by: PeterW | last post by:
I have a Windows service that needs to get some values from a config file. I place the config file for the service in the System32 directory. I do not get the values using the usual...
1
by: Ronald S. Cook | last post by:
Does anyone know how to read Windows Media file meta data from within code? Thanks, Ron
0
by: joerozario | last post by:
Hai Friends, i have to develop a .net appllication that will read windows events like 1. installation/Uninstalling of a software 2. pluging or pluging out of new Hardware i will make my...
4
by: Adam Funk | last post by:
I'm using this sort of standard thing: for line in fileinput.input(): do_stuff(line) and wondering whether it reads until it hits an EOF and then passes lines (one at a time) into the...
1
by: sajit | last post by:
Hi Folks, I am currently working on Electronic Mail System. There is a need to access Window Address Book from my project and store the values from WAB to Sql server. Right now I am working with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.