Eric Sun wrote:
> 
> Thank you for your reply.
> 
> Actually the code is working on netscape, and it also works on IE of some
> machines but not all of them.
> 
> I'm wondering maybe something related to machine configuration.

I believe that MSIE 5.5 does away with the problem.

> Eric Sun wrote:
> >
> > Hi,
> >
> > I have a search page and let clients to select page format, either Html or
> > Excel, then produce output for that format.
> > It works on Netscape but got trouble on IE
> > The follow statements are used:
> > if($Content_type==1){
> >         print "Content-type: application/vnd.ms-excel \n\n";
> > }
> >
> > else {
> >         print "Content-type: text/html\n\n";
> > }
> >
> > Any hints?
> 
> MSIE uses the file .ext to determine content-type.
> 
> You could try this (where $file has the proper .ext MSIE wants):
> 
> Content-type: $mimetype; name="$file"

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.todbe.com/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to