Re: Incorrect HTML Rendering?

2005-02-08 Thread David Dorward
On Mon, Feb 07, 2005 at 05:42:45PM -0800, Graeme St. Clair wrote: !ENTITY help Help 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

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(variable) returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi-param(variable) is empty). If I try to receive the variables

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(variable) returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi-param(variable) is empty). If I try to receive

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(variable) returns the correct value). When I transmit the variables using the post method it I receive a empty string(($cgi-param(variable) is empty). If

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(variable) is empty). The POST data can be read one time, if you create an cgi objet before these, the second object recibe empty data. Is

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 constructive

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

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

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 response

Internal server error

2005-02-08 Thread vishwas bhakit
hello I am running cgi script from browser n getting Internal server error. When i checked logs it is giving following error: BEGIN failed--compilation aborted at /path/to/file/file.cgi line 4. what may be the cause of this can you plz help me. Thnx in advance Yahoo! India Matrimony:

Internal server error

2005-02-08 Thread vishwas bhakit
hello I am running cgi script from browser n getting Internal server error. When i checked logs it is giving following error: BEGIN failed--compilation aborted at /path/to/file/file.cgi line 4. what may be the cause of this can you plz help me. Thnx in advance Yahoo! India Matrimony:

RE: Reg parameters to a perl script

2005-02-08 Thread Moon, John
Subject: Reg parameters to a perl script Hi , I have a perl script which accepts few predefined parameters and values for them. It is like this : myscript.pl -param1 value1 -param2 value2 Now my requirement is , if value is also has and hyphen - then script should accept it and what

Re: Internal server error

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, vishwas bhakit wrote: I am running cgi script from browser [and] getting Internal server error. When i checked logs it is giving following error: BEGIN failed--compilation aborted at /path/to/file/file.cgi line 4. what may be the cause of this can you [please]

Re: Internal server error

2005-02-08 Thread Flemming Greve Skovengaard
vishwas bhakit wrote: hello I am running cgi script from browser n getting Internal server error. When i checked logs it is giving following error: BEGIN failed--compilation aborted at /path/to/file/file.cgi line 4. what may be the cause of this can you plz help me. Thnx in advance

Having trouble using strict

2005-02-08 Thread Nicolay Vasiliev
Hello there! I got a trouble (I think). I'd like to store some variables in a separated file ie vars.pl to have a possibility of using them in different scripts by 'require vars.pl'. So if I use some script using the variable $var1 = somevalue storing in 'vars.pl' and I call this variable with

RE: Having trouble using strict

2005-02-08 Thread Moon, John
Subject: Having trouble using strict Hello there! I got a trouble (I think). I'd like to store some variables in a separated file ie vars.pl to have a possibility of using them in different scripts by 'require vars.pl'. So if I use some script using the variable $var1 = somevalue storing in

Perldoc.com

2005-02-08 Thread Tyson Sommer
Is something awry with perldoc.com? I haven't been able to reach it for a few days. I get pings back, and the browser says page found, but it never loads. Thanks! Tyson (noob - 1st post to beginners) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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: Having trouble using strict

2005-02-08 Thread Nicolay Vasiliev
Oh, I got the main direction, thank you very much! John Moon wrote: Subject: Having trouble using strict Hello there! I got a trouble (I think). I'd like to store some variables in a separated file ie vars.pl to have a possibility of using them in different scripts by 'require vars.pl'. So if I

Add img tags to html pages

2005-02-08 Thread Brian Volk
Hello All, I have a directory of .txt files that I converted to .html w/ the help of HTML:TextToHTML and now I would like to insert an image (from a dir of .jpg files) into each .html file. I have been Googling for a while now and I'm stuck.. Can someone please point me in the direction of

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 of this is

TERM::ReadLine and program flow question

2005-02-08 Thread Scott R. Godin
This is my first time attempting to use Term::ReadLine to get input from the commandline while a script is running. I grok the basics of it, but am stumbling over the implementation of it. Let me illustrate: READLINE: { # closure, so I don't have to either # - call Term::ReadLine-new() every

Problem with script requiring valid referrer

2005-02-08 Thread Chris Schults
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 is some of the code: my $goback = param(goback) || ; my $url =

Re: Problem with script requiring valid referrer

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, 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? I've asked for browser and O/S info, but many are using the same setup we are using, which

RE: Problem with script requiring valid referrer

2005-02-08 Thread Chris Schults
This is really a question for the CGI list, but whatever. Sorry, didn't realize there was one. Thanks for the heads up! Have you looked in the web server logs? Are you recording referer data? If not, you should be, it's useful in cases like this. If you're recording it, you should be able to

Re: Problem with script requiring valid referrer

2005-02-08 Thread Lawrence Statton
On Tue, 8 Feb 2005, 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? I've asked for browser and O/S info, but many are using the same setup we are using,

RE: Problem with script requiring valid referrer

2005-02-08 Thread Chris Devers
On Tue, 8 Feb 2005, Chris Schults wrote: This is really a question for the CGI list, but whatever. Sorry, didn't realize there was one. Thanks for the heads up! I'm not trying to be dismissive; just pointing out that there's a similar list that more specifically covers this topic. But a

Re: TERM::ReadLine and program flow question

2005-02-08 Thread Philipp Traeder
On Tuesday 08 February 2005 18:57, Scott R. Godin wrote: This is my first time attempting to use Term::ReadLine to get input from the commandline while a script is running. I grok the basics of it, but am stumbling over the implementation of it. Let me illustrate: READLINE: { # closure, so

Re: TERM::ReadLine and program flow question

2005-02-08 Thread Scott R. Godin
Philipp Traeder wrote: On Tuesday 08 February 2005 18:57, Scott R. Godin wrote: This is my first time attempting to use Term::ReadLine to get input from the commandline while a script is running. I grok the basics of it, but am stumbling over the implementation of it. Let me illustrate: READLINE:

Re: Premature end of script headers

2005-02-08 Thread John W. Krahn
vishwas bhakit wrote: hello, Hello, I am getting following error. Premature end of script headers Can anybody plz tell me what is the cause of this. perldoc perldiag [snip] Premature end of script headers See Server error. [snip] Server error This is the

Processing a string containing an HTML response.

2005-02-08 Thread Tham, Philip
Hi I am using LWP to send an HTTP Get and I receive the http response in a variable which I named resp. I would like to process the string resp-content token by token and modify the output. I see that HTML::TokeParser allows for this kind of processing but I have to read the input from a file.

Re: Processing a string containing an HTML response.

2005-02-08 Thread Scott R. Godin
Philip Tham wrote: Hi I am using LWP to send an HTTP Get and I receive the http response in a variable which I named resp. I would like to process the string resp-content token by token and modify the output. I see that HTML::TokeParser allows for this kind of processing but I have to read the