One really versatile tool in my arsenal: curl

Just use
curl.exe -i [url] | less/more/vim -
and have a peek at the headers.

http://curl.haxx.se/latest.cgi?curl=win32-nossl

--
Hugo Ahlenius

-------------------------------------------------------------
Hugo Ahlenius                  E-Mail: [EMAIL PROTECTED]
Project Officer                Phone:            +46 8 230460
UNEP GRID-Arendal              Fax:              +46 8 230441
Stockholm Office               Mobile:         +46 733 467111
                               WWW:       http://www.grida.no
-------------------------------------------------------------



| -----Original Message-----
| From: Adrian Moreno [mailto:[EMAIL PROTECTED]
| Sent: Friday, October 08, 2004 18:42
| To: CF-Talk
| Subject: CFCONTENT and PDFs (Re: CFCONTENT and GetPageContext())
|
| > Greetings.
| >
| > Anyone run into problems with using GetPageContext().Include()  and
| > CFCONTENT to serve, say a PDF file, on the same page.
|
| I'm having a similar problem. I'm almost positive it's a
| "security fix" in MSIE. The main function of the application
| I'm building is to create and present PDF docs to the user.
|
| If we use FireFox, the PDF loads correctly in the Acrobat
| plug-in, inside the browser. If we use MSIE (6.0.x), we get a
| dialog box (stating Adobe Acrobat ActiveX component) that
| prompts to Save or Open the file. Some versions of IE don't
| even offer the Open option.
|
| If you Save the file in MSIE, it saves as index.cfm (as
| expected). Change ".cfm" to ".pdf" and it opens in Acrobat
| Reader properly.
|
| If you Open the file and ".cfm" is mapped to a program, it
| opens in that program as text. Otherwise you get the list of
| all programs, you can choose Acrobat/Acrobat Reader and the
| PDF displays correctly.
|
| It was the case in years past and (IIRC) earlier this year
| that you could open a PDF served by <cfcontent> inside MSIE
| correctly. Something has to have changed in the way MSIE functions.
|
| Surely there are more people having this problem?
|
| Adrian J. Moreno
| -----------------------------------------------
| Factors of i, Inc.
| - http://FactorsOfi.com
| - Linux Web Hosting: CF/PHP with MySQL
| -----------------------------------------------
| i Know Kung Foo Consulting
| - http://iKnowKungFoo.com
| - ColdFusionMX, Java, JBoss, JSP & Struts
| - XML & Database Development
| - Internationalization (i18n)
| -----------------------------------------------
|
|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to