Turner wrote:
[color=blue]
> Thank you guys for your replies.
>
> It does confirm the relationship I was thinking of between ActiveX and
> Flash.
>
> However, the guy I told you about in my first post did prove to me it
> would work. I think it may have to do with headers as I agree with
> you, nothing else could bypass such feature from IE. But basically the
> guy did it in front of me, in a file.html with the object pointing to a
> flash animation and a file.php with some php code pointing to same
> animation. With my security settings the file.html would not display,
> while the file.php would show the anim right away.[/color]
(Just guessing, not experience here...) Perhaps you disabled ActiveX only in
the 'untrusted zone' and an added P3P header triggered a different security
zone in IE. But this is not 'using flash although ActiveX is disabled',
because it's enabled in that zone.
It does not stop people from disabling ActiveX in that zone too.
And it's not PHP specific, you could achive the same thing with the right
server config.
[color=blue]
> I made more searches, found this page:
>[/color]
http://cain.supersized.org/archives/....js-files.html[color=blue]
>
> the conclusion for IE is this:
> "create script element and wait until loaded using onreadystatechanged
> (to be able use when ActiveX is off)"[/color]
I can't see a connection to your problem here...
It deals with dynamically loading more JavaScript without using the IE
equivalent of XMLHTTPRequest, which uses an ActiveX component.
[color=blue]
> But I remember there was a function in php that looked much simpler
> than that...[/color]
Again, there's nothing PHP could do about it. The browser only gets the HTTP
headers and the document itself, it does not care and cannot know, if these
come from a static file or where created by a server-side script.
The default HTTP headers (inserted by the server) are often different for
static files and dynamic pages, but that nothing that could not be fixed.
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW:
http://www.odahoda.de/