473,549 Members | 2,726 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 5239
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
12644
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 ...
6
6488
by: Sławek Mróz | 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
4052
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
1900
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...
4
21834
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...
3
5913
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
5698
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...
8
5877
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...
2
8053
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...
0
7960
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...
1
7475
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
6048
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5372
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
5089
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
3501
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...
1
1944
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
766
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.