help needed with perl CGI, cgi.pm and <textarea>

help needed with perl CGI, cgi.pm and <textarea>

Post by Dr. Vincent Sh » Wed, 21 Feb 1996 04:00:00



Hello, everyone.

I'm using NCSA1.5a httpd running on HPUX9000 V9.04. The following
PERL script will hang when the number of characters entered
exceed ~400.  Can anyone help me to determine if it is a HTTPD bug,
PERL bug, or CGI.pm bug? I tried all debugging methods I know (:-

I really appreciate any help netters can provide.

=====================================
#!/usr/local/perl5/bin/perl
select(STDOUT); $|=1;
use CGI;
$query = new CGI;
print $query->header;
print $query->startform;
print $query->hidden('ceater1','--------------'),"<br>\n";
print "<H3>Enter abstract text:</h3>";
print $query->textarea('abstract','',10,70);
print "<br>",$query->submit(" Submit "),"<br>";
print $query->hidden('ceater2','--------------'),"<br>\n";
print $query->endform;
print "<HR>\n";
$abs = $query->param('abstract');
print "Data received:<br>", "length=", length($abs), "<p>$abs";

--
Vincent Shan, Systems Analyst
The Federation of American Societies for Experimental Biology
Phone: (301)530-7040  FAX: (301)571-0688
Gopher server: gopher.faseb.org
Web server: http://www.faseb.org/

 
 
 

1. LILO help <><><><><><>

I just installed RH6 on a box that only had a 50MB DOS partition to
begin with.
During the RH install, I used Disk Druid to set up additional
partitions as follows:
/       ~1 GB
swap    ~40 MB
/usr    ~500 MB
/boot   ~10 MB

When prompted, I told it to install LILO into the "/boot" partition.

Upon restarting the system after the install, it booted into DOS again
from my origional active DOS partition.

I tried booting from the emergency rescue disk that I was prompted to
create during the install, but it gives me an error "0x10" and stops.

I can boot using the RH "boot.img" boot disk, hitting F4, and then
inserting the "rescue.img" disk made from dosutils on the RH CD, but I
have no idea what to do from there.

I want to make the thing boot with LILO and ask whether to start DOS or
boot Linux (as default). I realize now that I probably shoud've just
told it to install LILO into the MBR.

Please tell me there is an easy/painless way to get LILO to do this
without re-installing totally.

Please respond via Email to:  jack972 [<at>] netzero [<dot>] net

Many thanks!

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Exceed (hmmingbird product) and AIX

3. web file uploading via cgi-lib.pl and/or CGI.pm

4. Printing problem via MTS terminalserver

5. What's more secure cgi-lib.pl or CGI.pm?

6. groupadd(1M) and grpck(1M) stricter than POSIX.1/SUS

7. <<->> x-server and backspace: help needed please <<->>

8. Serial HOWTO by Greg Hankins - Anybody seen it?

9. <><><> MOUNTING EXTENDED PARTITION <><><>

10. Wanted: <><><> Unix Specialist <><><>

11. Apache and <!--#exec cgi="/cgi-bin/counter/counter.cgi" -->

12. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

13. html & cgi files in the same directory <<bugzilla>>