473,832 Members | 2,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Embedding a .exe into a webpage

10 New Member
I am doing a project on social n/w website,one of the features being webcasting.Now for webcasting there is a need for an encoder s/w(say Real Producer Basic),I have this .exe downloaded.
Now I need to embedd this in a webpage using PHP.

Please do help me.
Note:
From <ULR removed>,I have got this Real Producer SDK and it consist of:
1.bin
2.convert
3.docs
4.include
5.samples

Would this be helpfull?
Sep 29 '08 #1
14 11062
Atli
5,058 Recognized Expert Expert
Hi.

What type of server is your webpage running on?
Exe files can only be used on Windows machines, so unless your server is on a Windows machine, you can not use .exe files on your web.

I'm not sure PHP itself can run Windows executables (not that I've spent much time trying), but it can execute shell commands, which you can use to execute external applications.

So, if you can manage to get this working in a CMD window, you can have PHP execute that command using the Program execution functions.

P.S.
Please do not post links to commercial websites.
That includes websites that are trying to sell stuff, or are filled with advertisements.

Check out the Posting Guidelines for more info on that.

Thank you.
Moderator
Sep 29 '08 #2
ginugopinath
10 New Member
I have installed xampp and I am using windows platform.
Need more guidance please???
Oct 3 '08 #3
Markus
6,050 Recognized Expert Expert
Couldn't understand your post too well.
I'd suggest looking for some support from the site you downloaded the '.exe' from.

Markus.
Oct 3 '08 #4
ginugopinath
10 New Member
Hey Markus
I am buiding a social n/w website(final yr project),platfo rm being windows based & technology PHP,one of the feature being webcasting capability.
Briefing on webcasting(how it works???)
1.An encoder s/w (here Real producer Basic) is needed for webcasting.
2.I have got the .exe of above downloaded
3.Now what should happen is when somebody logs into my website and clicks on broadcast option then this .exe should appear,so that the broadcast process can take place.
4.Hence this .exe needs to be embedded into the web page.


Please Help

Thanks
Oct 4 '08 #5
ginugopinath
10 New Member
Hey somebody please advice
Oct 8 '08 #6
code green
1,726 Recognized Expert Top Contributor
Not quite sure what you are up to.
But you must realise that you cannot force an exe to run on someone's machine.
If this was possible the hackers would have a field day.

IE cannot run exe files. But there is something called
HTML Applications HTA which is a IE extension

PHP can run an exe using passthru(), exec() and another one I have forgot.
But this will be on the server, all the user will see is the final page.

You can of course give a user the option to download or open an exe
but you have no control over which program they choose to run it.
and who in their right mind going to run an exe directly

I think ASP.net can do something if the exe is previously registered on the ISP server
Oct 8 '08 #7
pbmods
5,821 Recognized Expert Expert
Heya, ginugopinath.

You can specify the default plug-in for an object on your webpage using its codebase attribute (http://www.w3schools.com/TAGS/tag_object.asp). This is a link to the page or file a User will be prompted to load if the required plugin cannot be found.
Oct 9 '08 #8
ginugopinath
10 New Member
Hey thanks for the valuable information.

ya maybe I didnt put myself across that clearly.

Ya as you mentioned I need to use some functions in php such that when a user wants to do a webcast and clicks on the "broadcast button" then he must be directed to this exe(coz this exe that is encoder s/w helps in broadcasting process),so possibly I need to store it on the server.

The server that I am using is HELIX server
& the encoder s/w is real producer basic(i.e a .exe)

I dont want to provide the .exe as a link for the users of my website,rather embedd it(for eg,say u visit a site xyz,then sign in..etc etc,then click on broadcast button,then as a end user what you see is a "A new web page opening with an interface(i.e their embedded encoding s/w)"which will configure your webcam & microphone etc & help you in broadcasting.

Currently I have this encodding s/w and helix server & real player installed on the same machine and successfull in carrying out a broadcast.

I have been able to embedd the real player,but need to embedd the encoder s/w too.Hope I am clear this time..

Advice plz
Oct 13 '08 #9
JamieHowarth0
533 Recognized Expert Contributor
Hi there,

The whole point of RealProducer is that it runs as an application on a machine, not on a webpage. From what I have been reading, RealProducer is just for converting files.

So, if all you need is conversion to RealPlayer format (which is what it sounds like), then you'd get the user to upload a file, get PHP to execute the converter on the server, then spit out a new RealPlayer-formatted file which can then be viewed in the browser using the RealPlayer plug in. The user should not have to download the RealProducer software to go through this process.

Does that sound about right?

codegecko
Oct 13 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3820
by: Phil Frost | last post by:
Greetings all. I'm attempting to embed a python interpreter at a very low level in an OS I am writing. Currently I'm stuck with build issues. Firstly, as there is no working C compiler in our OS, I must cross compile Python. I encountered errors when building Parser/pgen; I got around this by building it nativly and copying it. Hopefully this won't get me later... My current problem (and there are sure to be more ;) ) is when building...
4
2793
by: Alicia Haumann | last post by:
I accidentally sent this to webmaster@python.org, so this could be a duplicate if "webmaster" forwards it to this list. :{ Hi, there. Thanks for any help that can be offered. I've been working with Python for a year or more now, but only doing simple extending in C/C++. I'm now attempting some embedding and several questions have come to mind. BTW - I'm running Windows 2000 with Python23 and VisualC++ developers
11
4503
by: Anna | last post by:
Hi all. I want to embed the EMBED tag in the object tag. I understood that I need to provide a PARAM tag inside the OBJECT whose value will hold the content of EMBED src attribute, but after that I've got confused. For example, what should be put into classid and codebase attributes of the OBJECT now embedding the EMBED tag?
56
6979
by: alan b | last post by:
I copied it and tried to edit the movie.htm below in the <PARAM NAME=*** location of the file where the videoclip is on my hard drive. It is already recorded by Windows Media Player. My version is 9.0 although it is coded 5.0 in this htm file. Let me know if it is able to be fixed. *** denotes where it is edited to locate the path where the videoclip is.
8
1802
by: Alan Lue | last post by:
Hi, I'm trying to set up a webpage so that I can view multiple HTML files from the same page. For example, you might go to http://example.com/lab_tests.html and be able to view lab1.html, lab2.html, and lab3.html right on that page. If you're viewing this message w/a monospace font, the page layout might look like this: +-------------------+ | Header | * Code for Header and
3
2511
by: Gérard Talbot | last post by:
Hello all, When webfonts are used for purely cosmetic/ornemental reasons and on a large scale, I don't agree. When webfonts are used because Unicode support among browsers for a particular language (like a Canadian Aboriginal language) is inexistent (see http://www.alanwood.net/unicode/unified_canadian_aboriginal_syllabics.html ),
4
3183
by: markoueis | last post by:
Is there any way to embed a ClickOnce Application into the browser? I love the way ClickOnce works, but the problem is I would like it to display the windows form in the browser. I could use a simple embedded dll, but then i lose the trust prompt that ClickOnce offers. Any ideas? Mark
0
1432
by: hq4000 | last post by:
Given AStyleSheet.xsl : <AStyleSheet> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.mytest.mytest2.mytest3.com" version="1.0"> <xsl:output method="xml" indent="yes"/> <xsl:template match="/"> <xsl:element name="Test">it works</xsl:element> </xsl:template>
7
3680
by: atlkhan | last post by:
I have a flash movie I want to include it in the webpage. How this can be done.
0
9795
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10780
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...
1
10540
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
10212
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7753
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5623
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...
1
4421
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
2
3970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3077
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.