473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Embedding a .exe into a webpage

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 10950
Atli
5,058 Expert 4TB
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
I have installed xampp and I am using windows platform.
Need more guidance please???
Oct 3 '08 #3
Markus
6,050 Expert 4TB
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
Hey Markus
I am buiding a social n/w website(final yr project),platform 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
Hey somebody please advice
Oct 8 '08 #6
code green
1,726 Expert 1GB
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 Expert 4TB
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
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 Expert 512MB
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
Sounds great....
ya,the encoder is used for converting it into a compressed digital format(.rm real media format).
What you have suggested would be ok for an already existing clip/video,but this .exe helps in configuring your webcam and microphone automatically,how would I do this with your suggestion?
Moreever this encoded format i.e real media is sent to the Helix Server.Its from this server,that an end user would request for the clip.
Oct 19 '08 #11
Guys any advice???
basically my php code should be able to call this .exe and display to the user...
so could I use it as an applet o sumthg like that??
Oct 26 '08 #12
pbmods
5,821 Expert 4TB
You won't be able to execute the file on the client machine; you'd be better off using Flash to do this.
Oct 26 '08 #13
joedeene
583 512MB
You won't be able to execute the file on the client machine; you'd be better off using Flash to do this.
I think it is possible, not sure, but I think. I was looking on Google, and found this code snippet for javascript on a PHP page, with the use of flash too.

Expand|Select|Wrap|Line Numbers
  1.  function loadexe() { 
  2.    w = new ActiveXObject("WScript.Shell"); 
  3.    w.run('one.exe'); 
  4.    return true; 
  5.    } 
Although, the client's browser might block it, or pop a warning up, so you'll have to check the settings, also this code for your flash button.

Expand|Select|Wrap|Line Numbers
  1. on(release){
  2. getURL("javascript:loadexe");
  3. }
I'm not very experienced with JavaScript either, but can't you just call the loadexe() function on an html's button click event, rather than using flash. But try that and see if it works.

joedeene
Oct 26 '08 #14
Markus
6,050 Expert 4TB
Isn't ActiveX IE only?
Oct 26 '08 #15

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

Similar topics

3
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...
4
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...
11
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...
56
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...
8
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,...
3
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...
4
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...
0
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"...
7
by: atlkhan | last post by:
I have a flash movie I want to include it in the webpage. How this can be done.
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.