473,568 Members | 2,738 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP + IE Embed problem

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=ff f.xml&fichierxs l=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
6 2370
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3105
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format, which needs a Quicktime plugin, and one Java applet. He's also kindly supplied me with sample HTML code for each. The code looks like this...
2
3089
by: Cris Curtis | last post by:
When I use an embed tag that uses a dynamic aspx page, the dynamic aspx page appears to get called 2 times instead. Below is code that adds an embed tag to a placeholder control that will use a second aspx page to generate the svg for the embed. svgchart.Controls.Clear(); string strSRC =...
8
3072
by: Cowan Services | last post by:
My apologies if this has been covered before, but I was unable to download messages before 11/23/05. I am trying to bring some HTML pages w/embedded .WMV files into W3C compliance. Right now, they use the <embed> tag and are therefore not compliant. I've found a couple of work arounds for Flash files, but none for ..WMV files. The client...
1
3431
by: snicks | last post by:
I have a series of XLS files which I need to embed into a PowerPoint presentation on an IIS server. I’ll be using VB.NET. I’ve tried using an ASPOSE.PowerPoint control to do this and it does partially work. The problem is that when I embed the XLS files PowerPoint is not running and has no way of capturing the XLS image and embedding it...
1
2972
by: Andrew Poulos | last post by:
With "normal" SWF HTML there's an EMBED tag nested within an OBJECT tag. How can I check which tag is actually displaying the SWF? I'm using CSS on them and the style on the OBJECT affects the EMBED tag so I'm going to use some code to correct it but I can't tell which tag is responsible for the display. Andrew Poulos
13
2633
by: windsorben | last post by:
I have some javascript that checks whether or not an answer is correct. It was working fine when the question was asked with text but now that I'm asking the question with audio, the javascript no longer works. (I think it is considering the embed tag as an element in my form and I think that's causing the problem.) I think adding and...
1
4711
by: MoroccoIT | last post by:
Greetings - I have a CF Form that uploads news articles, at times, I like to paste Youtube Videos with my articles. I noticed that on one server, it works fine, but on a different hosting company, my Youtube videos don't work. After I checked the database, I can see that the youTube code did get uploaded, but the Embed tag turned to InvalidTag...
1
2218
by: movieking81 | last post by:
This really isn't an ASP question, but the code is ASP so feel free to move this to the right place if necessary. I have two ASP pages with some embed code on them on two different hosting platforms. First one (Win2003,IIS) dim var1 var1 = "<object>"_ & "<param name='movie' value='st1.mov'>"_ & "<embed src='st1.mov' width='725'...
1
2466
by: movieking81 | last post by:
I have some html pages with some embed code on them on two different hosting platforms. First one (Win2003,IIS) <object> <param name='movie' value='st1.mov'> <embed src='st1.mov' width='725' height='150'> </embed> </object>
0
7604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7916
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5498
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.