one of the scripts has
print $cgi->header();
- Original Message -
From: "WC -Sx- Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 4:10 PM
Subject: Re: Content-type: text/html
> are you using
>
> print header;
>
&
Are you sure the lines in your file don't contain double-quotes? These would
turn the JavaScript parameter into nonsense.
R
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 5:03 PM
Subject: Content-type: application/x-javascript
> Yes. You did print out the return value, didn't you? The header method
of
> CGI.pm doesn't print the header out, it returns it; you have to print it
out
> yourself.
No I didn't, I did not know I needed to. It works great now thanks AGAIN!
-Dave
--
To unsubscribe, e-mail: [EMAIL PROTECTED
On Fri, Oct 19, 2001 at 12:11:31PM -0500, SAWMaster wrote:
> $addtocart_co->header(-cookie=>$pid_cookie);
>
> Does that line not handle the content type as well?
Yes. You did print out the return value, didn't you? The header method of
CGI.pm doesn't print the header out, it returns it; you ha
On Fri, 19 Oct 2001, SAWMaster wrote:
> Hello, I have a script that is acting funny.
>
> I have this line in it:
>
> $addtocart_co->header(-cookie=>$pid_cookie);
>
> Does that line not handle the content type as well?
It does handle it. Do you have start_html after it?
> I get "premature end o
> Im using Content-Type TEXT/PLAIN charset=US-ASCII
I think you're missing a colon, and you possibly
have other syntax errors. Check on the net for
the syntax of the Content-type line.