Re: PHP affecting PDF plug-in....?
| From: | Richard Lynch | Date: | Tue, 02 Jul 2002 06:05:32 +0000 |
| Subject: | Re: PHP affecting PDF plug-in....? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104854@lists.php.net to get a copy of this message | ||
>All...
>
>I have a PDF plug-in problem...
>
>Now before you say anything the problem doesnt exesi when I remove PHP from
>the equation...
>
>I have a script that generates a drop-down list of ID's basically...
>Clicking continue will pass the ID to a script which I use to get the
>correct filename to display...
>
>ALSO, this only seems to happen on IE 5...
>
>This is what happens...
>
>1) login
>2) select option to display list...
>3) Select Item...
>4) Pass & display item
>5) select option to display list...
>6) Select Item...
>7) Pass & display item
>
>Now... at stage 7... is where it appears to go wrong... i.e. IE hangs....
>
>The PDF file is being displayed via an <iframe>, also note that if I remove
>the <iframe> the flow is as normal...
>
>[ http://www.the-local-guide.com ::
>›¥)Ž[�×�ðæIæ[hhttp://www.mcgarvie.net ]
I had a recent case where the header() functions I was using to mark my PDF
files as being out-dated (Expires:, Pragma, all that crap) were causing IE
5.5 to choke on PDF files.
Don't ask me why stupid IE was choking on the idea that a PDF file was maybe
dated, but it was.
Sigh. Ask Bill.
Anyway, take a look at the *HEADERS* that are coming out under the two
different situations, and see what you see...
One way to see the headers is to do:
telnet the-local-guide.com 80
GET /index.php HTTP/1.0
Host: the-local-guide.com
[Hit "return" twice after that last line]
This is a crude way to "fake out" a web-server into thinking you're a
browser. Won't do Cookies or authentication or anything fancy like that,
but it's a start.
Also, I dunno what an iframe is, but that sounds suspect. I'm a Luddite. I
don't use HTML that doesn't work reliably on 3.0 browsers.
No DHTML/layers, no CSS -- I've seen too many broken CSS sites to believe in
it.
Show me a CSS site, and I'll show you unreadable text and INPUT boxes I
can't read what the hell I'm typing on my Mac IE 4.01 browser.
--
Like Music? http://l-i-e.com/artists.htm