473,657 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flash, ActiveX and PHP integration

Hi there,
I'm not a flash programmer myself but I work with some of them. It
seems whenever I browse to a page developped by these folks the browser
receives it as if there were ActiveX content (but there is none). I
think there is a relationship between ActiveX and Flash, but I believe
they are separate. The problem is, on explorer, for security and
sanity reason I have completely disabled activeX and it prevents me
from seeing the Flash page or intro saying my security settings are in
the way.

I once met a guy, a very good website designer (he was doing
competitions and stuff) he told me that when using PHP, you can
actually set some options that will not trigger the use of ActiveX on
an imbedded Flash animation. The guy was fired from the company and I
could never get a hold of him again. Does anybody here know what those
options could be?

Thanks a lot,
Turner

Aug 5 '05 #1
5 5248
Hi Turner,

I may be wrong, however my understanding of the embedded object (in
this case, the flash player) implies the use of ActiveX within the IE
environment.

<object>
<embed>
</object>

If you do find your answer, please do share with us.

Thanks.

Aug 5 '05 #2
Turner wrote:
Hi there,
I'm not a flash programmer myself but I work with some of them. It
seems whenever I browse to a page developped by these folks the browser
receives it as if there were ActiveX content (but there is none). I
think there is a relationship between ActiveX and Flash, but I believe
they are separate. The problem is, on explorer, for security and
sanity reason I have completely disabled activeX and it prevents me
from seeing the Flash page or intro saying my security settings are in
the way.
Plug-ins for IE are implemented as ActiveX components. Netscape invented a
different API for plug-ins which is supported by most other browsers (and
OS indenpendent).
I once met a guy, a very good website designer (he was doing
competitions and stuff) he told me that when using PHP, you can
actually set some options that will not trigger the use of ActiveX on
an imbedded Flash animation. The guy was fired from the company and I
could never get a hold of him again. Does anybody here know what those
options could be?


PHP cannot do anything on the client-side that an ordinary static HTML file
(and perhaps some server config to get non-default HTTP headers) cannot do.
There are certainly many ways to get around IEs security settings (if they
deserve this term at all) - but this is usually used to distribute malware,
don't use it unless you're a virus writer.

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
Aug 5 '05 #3
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.

I made more searches, found this page:
http://cain.supersized.org/archives/....js-files.html

the conclusion for IE is this:
"create script element and wait until loaded using onreadystatecha nged
(to be able use when ActiveX is off)"

But I remember there was a function in php that looked much simpler
than that...

Aug 5 '05 #4
Turner wrote:
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.
(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.
I made more searches, found this page:
http://cain.supersized.org/archives/....js-files.html
the conclusion for IE is this:
"create script element and wait until loaded using onreadystatecha nged
(to be able use when ActiveX is off)"
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.
But I remember there was a function in php that looked much simpler
than that...


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/
Aug 5 '05 #5
Thanks Benjamin,
I really thought I had disabled ActiveX properly as I've been doing
so with thousands of clients while doing tech support for a year. And
I visited a page that displayed a flash animation and didnt give the
usual "Your security parameters do not permit to use the ActiveX
controls on this computer. The page will not display property."
(translated from the french error message) and Not displaying the
animation.
The friend, who did Website design competitions and showed me
impressive stuff also told me the magic was coming from the PHP options
he had set in his page where the object is imbedded.
In other words, using PHP and IE, one would be able to display a
flash animation regardless ActiveX is fully active or totally disabled.

If only I could remember what the code was, I'd share this with you,
but I can't recall.

Turner

Aug 5 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
12675
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes state, the HTML page URL would change from default.html to default.html#stateA. example: http://pearstudios.com/javascript/locationHashAndFlash.html This has worked perfectly within HTML and javascript alone, however, when connecting Flash and...
6
6493
by: Sawek Mrz | last post by:
Hello! I'm a beginner in C# programming and I'm wondering if it's possible to put Macromedia Flash movies and C# applications working together. If yes and you know some good web-articles giving explanations and examples - pls let me know the links. BR Slawek
8
4054
by: Ben Bartsch | last post by:
Looking for opinions on the use of Flash with ASP.NET. Has anyone here seen or conducted any implementations of Flash that are actually useful or otherwise complement ASP.NET?
6
1908
by: Andy G | last post by:
I have a client that is really pushing me to start using Flash MX Professional to replace VS.NET. Main arguement is that it looks better and flows nicer than visual studio developed applcations (this client is a designer not a programmer). I believe that Flash is a 'Tool' not a 'Solution'. My 'Solution' is an ASP.NET application but I would like to use Flash as a 'Tool'. I am having very hard time seeing any documentation on the...
4
21842
by: vivek | last post by:
I am new to flash and want someone to guide me, Is it possible to create a UI entirely in Flash and that will inetract with C# components (backend) and these components will in return interact with database etc. If flash and C# interaction is possbile then, what are the prons and cons of this interaction? As using flash, one can create wonderful UI. But in return I also want it to interact fully with C# components.
3
5916
by: Tim Dixon | last post by:
Hi, Can someone tell me how to get a flash file to play in Visual Basic .net? (VS2005) Tried adding a com component to the toolbox (as it worked in VS2003), but this produces an error in 2005 (seems to be a know bug with VS2005) All I want to do is PLAY flash files - and maybe control them (ie. play, pause, send vars to/from)
3
5704
by: lalekse | last post by:
Hi there. I've been searching for 2 days now a way to load a resource (byte) into a Flash Player 9 ActiveX Container. I've found a lot of discussions, talking about IBindHost, IManiker and so on... I think I've understand a part of those, but I didn't found anything concerning the .NET framework 2.0 (with C#). Would someone have info on that? The point is that the ActiveX only have a "Movie" property, or LoadMovie/SetMovie methods,...
8
5885
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web clients (Internet Explorer). My flash content was originally brought in via the “flash satay” method, but I have since used some server-side magic do deliver one <objecttag
2
8069
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I did not understand some parameters totally in the HTML tag. These days when I was surfing the Internet I have found some comprehensive introduction to these two tags. I read it and conclude it with my own words; I think it will be useful to us, so I...
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8842
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.