On Wed, 1 May 2002, Jay Blanchard wrote:
> If I name the file with a .xls extension it displays the code in the
> excel worksheet in the browser. If I name the file with the .php
> extension it opens Excel seperately, gives me a file download option (I
> click 'Open') and then asks me to tell it what created the file, so I
> pick Excel. Then the data is displayed properly in the Excel worksheet,
> outside of the browser. I want the file to open an Excel worksheet in
> the browser (IE, on an Intranet). Is there something I am missing?

Nope. IE is a little perverse about how it decides which viewer to use. So 
just give it a name ending with .xls, or tack on a /whatever.xls to the 
end of the link.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to