Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Inovking an executable from a brower using HTML

Reply
Thread Tools

Inovking an executable from a brower using HTML

 
 
Dylan Sung
Guest
Posts: n/a
 
      07-12-2006
I have an executable file I created to extract data from text file, but I'd
like to invoke it from a HTML interface. Can anyone tell me how this is done
using HTML code? If not, can it be done using a simple java script ?

Thanks in advance.

Dyl.

 
Reply With Quote
 
 
 
 
mbstevens
Guest
Posts: n/a
 
      07-12-2006
On Wed, 12 Jul 2006 11:45:32 +0100, Dylan Sung wrote:

> I have an executable file I created to extract data from text file, but I'd
> like to invoke it from a HTML interface. Can anyone tell me how this is done
> using HTML code? If not, can it be done using a simple java script ?
>
> Thanks in advance.
>
> Dyl.


Most servers can use one of several languages
to run server side processes. If your program is in one of these
languages, you are ready to go. If not, your executable can be
called from one of these languages. Google for CGI, Perl, and
PHP. Other interfaces and languages are also available.

[Warning]: Allowing visitors to call programs on the server
can be dangerous to your site and the server machine.
Get up to speed on security before doing this.


 
Reply With Quote
 
 
 
 
Andy Dingley
Guest
Posts: n/a
 
      07-12-2006

Dylan Sung wrote:
> I have an executable file I created to extract data from text file, but I'd
> like to invoke it from a HTML interface.


I have an executable file that re-formats your disk. Would you like me
to be able to invoke it on your computer from my web page ?

No? Then this is why HTML in general doesn't have the access rights
to go around invoking executables.


> Can anyone tell me how this is done
> using HTML code? If not, can it be done using a simple java script ?


If you're using a local HTML page, which probably needs to be loaded
from disk and not a server (for most modern browsers) then you should
be able to do this. Just use
<a href="file://...." >My program</a>
and replace "..." with the path to your programe executable file,
including the .exe extension.

Practice this first with a nice simple JPG file.

A lot depends on what browser you use and how paranoid it is.

 
Reply With Quote
 
Dylan Sung
Guest
Posts: n/a
 
      07-12-2006

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
>
> Dylan Sung wrote:
>> I have an executable file I created to extract data from text file, but
>> I'd
>> like to invoke it from a HTML interface.

>
> I have an executable file that re-formats your disk. Would you like me


Funnily enough I do too.

> to be able to invoke it on your computer from my web page ?


Erm, no. I was wanting it for personal use.

>
> No? Then this is why HTML in general doesn't have the access rights
> to go around invoking executables.
>
>
>> Can anyone tell me how this is done
>> using HTML code? If not, can it be done using a simple java script ?

>
> If you're using a local HTML page, which probably needs to be loaded
> from disk and not a server (for most modern browsers) then you should
> be able to do this. Just use
> <a href="file://...." >My program</a>
> and replace "..." with the path to your programe executable file,
> including the .exe extension.
>
> Practice this first with a nice simple JPG file.
>
> A lot depends on what browser you use and how paranoid it is.
>


Thanks, I really should have done that in the first place.

<note to self: Duh!>

Cheers,
Dyl.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create executable from executable with py2exe vedrandekovic@gmail.com Python 0 03-29-2008 12:23 PM
Running an Executable Before Executable JAR Jason Cavett Java 8 05-16-2007 07:14 PM
what is fast dynamically linked executable or statically linked executable ?how to decide? pratap C Programming 20 03-07-2007 04:46 AM
How can I run a c executable in pwd ,while the executable is in some other directory vishsid3@gmail.com C Programming 15 08-21-2006 06:04 AM
forcing network users via a brower based login page =?Utf-8?B?UmljaGFyZCBPVA==?= Wireless Networking 3 01-27-2006 06:54 PM



Advertisments