true... (some general analysis inside)

[ Follow Ups ] [ Post Followup ] [ CPU-Central Message Board ] [ Home ]

Subject: true... (some general analysis inside)
Name: tide
Date: 1/4/2002 9:25:48 AM (GMT-7)
IP Address:
In Reply to: Netscape 6 and higher can recognize IFRAME posted by ludicrous

in the url is a .jpg which is an image and no text. the http header from the server contained a "text/html" for content type, I belive.

now, IE sees the http header and forgets about the fact that he'd actually receive an image and interpretes the html code that's being sent from the server.

ns6.2 on the other hand ignores the "text/html" in the http header (which is not correct, I think) and expects a binary stream to come from the server. instead, there comes some text and the browser can't identify the image because there's no valid header in the sent data and ns6.2 displays nothing.
I then saved the code to a local file and opened it with ns6.2 - ns did recognice the iframe tag but didn't access the c:\ which is, I believe, not correct.

JScript is not allowed to access any local files and must work within the browser's boundaries. IE often allows acces to local files trough jscript, which is wrong (see an earlier post, getobject).

but the browser itself may access local files and therefore, IE's behaviour is quite correct, I think...
Now what one should try is make a form around the iframe and submit it and see what the post data on the server side looks like. Or read the iframe's content trough javascript and store in form elements, then submit...

[ View FollowUps | Post Followup | Main ]

[No follow-ups for this posting]

Post a Followup




Optional Link URL:
Link Title:
Optional Image URL:
Upload some images for this post

[ Follow Ups ] [ Post Followup ] [ CPU-Central Message Board ]