Re: Incorrect HTML Rendering?

2005-02-08 Thread David Dorward
On Mon, Feb 07, 2005 at 05:42:45PM -0800, Graeme St. Clair wrote: > Mozilla will support it in XHTML mode, but not tag soup mode (serve it as application/xhtml+xml not text/html). A better solution would be to use your CGI script to handle your macro functions. (Insert mutterings about markup

perl-CGI module - post method

2005-02-08 Thread Victor
I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to receive the variables using post method

Re: perl-CGI module - post method

2005-02-08 Thread David Romero
Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to receive the variables usi

Re: perl-CGI module - post method

2005-02-08 Thread David Romero
David Romero wrote: Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty). If I try to recei

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- David Romero <[EMAIL PROTECTED]> wrote: > Victor wrote: > > When I transmit the variables using the post method it I receive a > > empty string(($cgi->param() is empty). > > > The POST data can be read one time, if you create an cgi objet before > these, the second object recibe empty data. >

Re: Premature end of script headers

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, vishwas bhakit wrote: > I am getting [the] following error. > > Premature end of script headers > > Can anybody [please] tell me > what is the cause of this[question mark] > > [Thanks] in advance As noted in the last reply to you, it is impossible to give any constructi

RE: Incorrect HTML Rendering?

2005-02-08 Thread Graeme St. Clair
All points taken. I'd spent all day trying to find something that would help, and the list was my last hope. Alas, the page I was working with was a pure HTML page that acts as gateway to the scripts. From your hint, I did find that Mozilla does exactly what I want if the page is renamed to blah

RE: Premature end of script headers

2005-02-08 Thread Moon, John
Subject: Premature end of script headers hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Have you tried to execute the script from the command line? That is sometimes helpful in finding the error... jwm -- To unsub

RE: Premature end of script headers

2005-02-08 Thread Bob Showalter
vishwas bhakit wrote: > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. When the webserver runs your CGI script, it parses the output, looking for the MIME headers, followed by a blank line, followed by the re

Premature end of script headers

2005-02-08 Thread vishwas bhakit
hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. Thnx in advance Yahoo! India Matrimony: Find your life partneronline.

Re: Premature end of script headers

2005-02-08 Thread Lawrence Statton
> --0-533587995-1107883018=:92269 > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 8bit > > hello, > > I am getting following error. > > Premature end of script headers > > Can anybody plz tell me > what is the cause of this. > > Thnx in advance Yes. The cause

Problem with script requiring valid referrer

2005-02-08 Thread Chris Schults
I sent the following email to the Perl Beginners List and was directed here ... Hey all. On our website we have several forms (send a letter, ask a question, etc) that some of our visitors seem to have problems with. These forms require the referring page to be from a Grist Magazine domain. Here

RE: Premature end of script headers

2005-02-08 Thread Sethi, Pradeep
Hi, Go ahead and paste your code or the top part of the script here and we would be glad to help you more. And, this is *the* right forum for beginner's questions. This is *NOT* a stupid question. -P -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Tuesday, Febru

Re: Problem with script requiring valid referrer

2005-02-08 Thread David Dorward
On Tue, Feb 08, 2005 at 11:43:05AM -0800, Chris Schults wrote: > In both cases, our visitors swear that they are linking to these scripts > from valid Grist pages. Any ideas why some people are getting the error > messages? The referer header is optional, and when it is used there are a number of

Re: Module confusion

2005-02-08 Thread Scott R. Godin
[EMAIL PROTECTED] wrote: Howdy Folks, I'm not really a beginner to perl, but I do have a problem which is plaguing me due to changes in (a) my server and (b) my host company. In the past they gleefully installed any module I requested of them. No longer. In a recent move to a new server I lost

Re: perl-CGI module - post method

2005-02-08 Thread Scott R. Godin
David Romero wrote: David Romero wrote: Victor wrote: I use the last version of perl-CGI. When I transmit the variables using the get method it works($cgi->param() returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi->param() is empty).

RE: Module confusion

2005-02-08 Thread Charles K. Clarkson
Scott R. Godin <[EMAIL PROTECTED]> wrote: : No problem as long as they still provide secure-shell access : via ssh. It's completely sensible to close down the use of : telnet. Too insecure for today's environment, however ssh is a : viable alternative. I resell server space and I have one pr

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: > his example and in which case you want to get the params AFTER > creating > the cgi-object > > my %params = $cgi->Vars; > > which ensures that you also get multi-value s as separate > values. too. $cgi->Vars separates multiple values with a nu

Re: perl-CGI module - post method

2005-02-08 Thread Tee
Can you do: my %foo = $cgi->param("foo") Else, how do you loop thru to put the array into %keys? --Tee On Feb 8, 2005, at 7:40 PM, Ovid wrote: --- "Scott R. Godin" <[EMAIL PROTECTED]> wrote: his example and in which case you want to get the params AFTER creating the cgi-object my %params = $cgi->Va

Re: perl-CGI module - post method

2005-02-08 Thread Ovid
--- Tee <[EMAIL PROTECTED]> wrote: > Can you do: my %foo = $cgi->param("foo") > > Else, how do you loop thru to put the array into %keys? Sorry Tee, that won't work. Perl recognizes void, scalar, and list contexts. There is no "hash" context. If you have a hash on the left hand side of the equ