By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,070 Members | 1,718 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,070 IT Pros & Developers. It's quick & easy.

PHP + IE Embed problem

P: n/a
Hello thanks for your help..
I try to reference a PHP module from within a HTML file, see below
----------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<titleMy title </title>
</head>
<body>
on place un embed
<embed id="embed1" alt="ne marche pas..." src="ws.php?
projet=ppp&mode=mmm&fichier=fff.xml&fichierxsl=xxx .xsl" type="image/svg
+xml" WIDTH="300" HEIGHT="300"></embed>
on place un embed
<embed id="embed2" src="ppp.svg" type="image/svg+xml"
WIDTH="500" HEIGHT="500"></embed>
etc....
</body>
</html>
--------------------------------------
I run an Apache web server and unfortunatly, the first embed
(name="embed1") is never requested by IE. The second one
(name="embed2") is load correctly.
Can anyone explain me why ? Maybe IE doesn't recognise a correct file
extension, what else ???
I have been testing lots and lots of changes, but never work with IE.
It works fine with Firefox...
Thanks

Mar 5 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
qu************@free.fr wrote:
<embed
Try validating. HTML has never had an element called EMBED -- it's a
proprietary element invented by Netscape.

Use OBJECT instead:

<object data="foo.svg" type="image/svg+xml">Alt text here</object>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Mar 5 '07 #2

P: n/a
Use OBJECT : I did it too, but same result, IE says "2 remaining files
to load" and never ends the upload. Apache detects 2 upload requests,
it's fine. May be I have another pb : the HTML file is in fact
generated by an XSLT transformation from a XML data file. Difficult
for me to debug all this!!! Do you know how to log the content of the
data flow exchanged between Apache and the IE browser ?
Thanks

Mar 5 '07 #3

P: n/a
On 2007-03-05 15-40-46, qu************@free.fr wrote:
Do you know how to log the content of the data flow exchanged between
Apache and the IE browser ?
A logging HTTP proxy would be one method.
Mar 5 '07 #4

P: n/a
Rik
qu************@free.fr <qu************@free.frwrote:
Use OBJECT : I did it too, but same result, IE says "2 remaining files
to load" and never ends the upload. Apache detects 2 upload requests,
it's fine. May be I have another pb : the HTML file is in fact
generated by an XSLT transformation from a XML data file. Difficult
for me to debug all this!!! Do you know how to log the content of the
data flow exchanged between Apache and the IE browser ?

Well, easiest it to mimique data that should be there on some places. If a
file is created with an XSLT tranformation, store the expected result and
use that instead, etc. untill you found the source of the problem.

Enough proxies to display raw data to and from browsers, for MSIE I've
always relied on the user-friendly Fiddler.
<http://fiddlertool.com/fiddler/>
--
Rik Wasmus
Posted on Usenet: any site claiming this as original content or me as an
contributing member is wrong.
Ask Smart Questions: http://tinyurl.com/anel
Mar 5 '07 #5

P: n/a
Simon Stienen wrote:
qu************@free.fr wrote:
>Do you know how to log the content of the data flow exchanged between
Apache and the IE browser ?

A logging HTTP proxy would be one method.
Alternatively, Wireshark (formerly known as Ethereal).

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Mar 5 '07 #6

P: n/a
Here is the answer : http://joliclic.free.fr/html/object-tag/object-svg.html

<object type="image/svg+xml" data="data/test.svg" width="320"
height="240">
<param name="src" value="data/test.svg">
alt : <a href="data/test.svg">test.svg</a>
</object>

In fact this method loads the svg file twice.
Use this instead :
<object type="image/svg+xml" width="320" height="240">
<param name="src" value="data/test.svg">
alt : <a href="data/test.svg">test.svg</a>
</object>

It works fine with IE and Firefox.
Thanks for your help !!!

Mar 5 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.