It would be helpfull if you could include the rest of the script, the
problem doesn't appear to be here, and since you are calling other
sub-routines in the one you have included the problem could lie
elsewhere.

I saw in another reply to this, that it may be a problem with the
header, while this is possible, I only ever get an error in my logfiles
stating premature end of script headers, never a raw html dump to the
browser.

Are you using strict and -w?? These will you track down the sources of
problems in your scripts.

On Wed, 2001-10-17 at 17:01, Jimmy Lewis wrote:
> I am having a similar problem to one that I saw you answer in a post.  I
> have a project where the cgi form is being displayed in Netscape as raw
> HTML
> but in IE it works fine.  This CGI does not use the "print <<enter..."
> instead I see "print qq~"
> 
> If this doesn't help the beginning of where I believe the problem is
> goes
> like this:
> 
> 
> ######################################################
> #    Login Start Page              #
> ######################################################
> 
> sub login_startpage
> {
> &counter ("$logdir/","fakecount_frontpage");
> &counter ("$logdir/","realcount_frontpage");
> &read_file_content ("$logdir/","fakecount_frontpage");
> 
> if ($ENV{'HTTP_COOKIE'})
> {
>   foreach (split(/;\ /, $ENV{'HTTP_COOKIE'}))
>  {
>    ($cookie,$value) = split(/=/);
>    $Cookies{$cookie} = $value;
>   }
> ($un,$pw) = split(/\:/,$value);
> }
> 
> 
> print qq~
> <html>
> <head>
> <title>..........
> Any suggestions?
> 
> Jimmy Lewis
> Web Programmer
> --------------------------------------------------
> IP Strategy Inc.
> 5353 Mission Center Road #212
> San Diego, CA 92108
> 
> tel 619-308-0180 x206
> fax 619-839-3652
> ipstrategy.com
> --------------------------------------------------
> 
> 
-- 
Michael D. Risser
Software Engineer/Linux Administrator/Web Master
=============================
Machine Vision Products, Inc.
www.visionpro.com
[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to