My apologies if this is a FAQ, I haven't been able to figure it out &
can't find the answer online anywhere.
I have a fairly extensive script I've written to display tables of
information about equipment for an online game. For some reason the
script is hanging at at least two points:
At one point in the code I have it print a link to another page, but
passing the same $ENV{'QUERY_STRING'} that was passed in to begin with.
I don't know why, but it hangs. There are no unusual characters in the
string, I've checked that; I even went so far as to escape the quotes
defining the URL in the link, but still no luck. Here's the relevant
lines as they are presently written:
$pass = "/cgi-bin/plaintextresult.cgi?$ENV{'QUERY_STRING'}";
#print "$pass<BR>\n";
print "<TABLE CELLPADDING='2' CELLSPACING='2' BORDER='2'
WIDTH='100%'>\n";
print "<TR><TD WIDTH='33%' ALIGN='CENTER' BGCOLOR='#222222'><A
HREF='/submitframe.htm'>Submit unlisted equipment</A></TD>\n";
print "<TD WIDTH='33%' ALIGN='CENTER' BGCOLOR='#222222'><A
HREF=\"$pass\" target='printerfriendly'>Plain text version</A></TD>\n";
It's the last line there that hangs. Note that if I uncomment the line
that just prints the query string on its own, it doesn't hang.
I also have other strange hangs in here, but I haven't yet been able to
figure out which exact lines are causing the problem.
For the ppl who can figure this stuff out just by install data:
I'm running Redhat 8.0, Apache 2.0, on a p3-450. This entire
application did work correctly under Redhat 7.3 (Skipjack), Apache 1.3.
Unfortunately I upgraded...
Thanks,
Michael L. Forbes
[EMAIL PROTECTED]
For those who'd like to see the page in operation, it's at
parailtrail.dyndns.biz/cgi-bin/index.cgi