Re: How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread drieux
On Tuesday, Jul 29, 2003, at 18:36 US/Pacific, LI NGOK LAM wrote: [..] So.. if I create my own style of "fatalsToBrowser". Is that possible to do in this way : [..] The reason that 'fatalsToBrowser' and the rest came about is because many perl modules are built on 'die' or 'Carp'. And that 'di

Re: How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread LI NGOK LAM
So.. if I create my own style of "fatalsToBrowser". Is that possible to do in this way : Make PrintContentT.pm, which is just a simple sub to print the Content-type:blah but pushing a contenttype =>1 to %ENV. At all the other CGI scripts, use PrintContentT.pm to print the header, instead,

Re: How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread Wiggins d'Anconia
LI NGOK LAM wrote: > I have read throught the CGI::Carp::fatalsToBrowser... > not quite understand all, but I wonder how does this script > handles the "Content-type: text/html\n\n".. > So in the some case s(such as warnings) this header line won't re-print ? > Read the docs or the source

I want to confirm the figure of a form data .

2003-07-29 Thread LI NGOK LAM
While I hit the submit the "Submit" button on a form ( in a normal way ), my cgi script is of cause going to read the data. My question is that does the data I read are all in the same context format ? Actually my target point is about the CRLF stuff... Is that what I read are the same even I am

How does CGI.pm handles Content-type: text/html\n\n ?

2003-07-29 Thread LI NGOK LAM
I have read throught the CGI::Carp::fatalsToBrowser... not quite understand all, but I wonder how does this script handles the "Content-type: text/html\n\n".. So in the some case s(such as warnings) this header line won't re-print ? TIA

Re: How to display multiple web pages depending on

2003-07-29 Thread Octavian Rasnita
If this is a problem, you can use always $show = 50; ... for example. This way you will let the visitors choose only the number of records that should be skipped. But I don't think that this is a problem because either way you do your page, the visitor can create a program using the LWP library an

RE: New to list...needing help

2003-07-29 Thread Bob Showalter
Bruce Whealton, Jr. wrote: > Hi all, > I've been frustrated with my initial efforts to run perl scripts > on my server, or rather the server I use. I have tried a few > simple form mailers, each of them > failing with internal 500 error. 1. Post these issues to [EMAIL PROTECTED] 2. Wheneve