: : : Is there any way to i guess encapsulate a small c program into an
: : : html document?
: : : Thanks for any help!
: : With the intention of display it or having it compiled and executed? If compiled and executed, on the server, or on the machine of the person viewing the HTML?
: :
: : Jonathan
: :
: :
: : ###
: : for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: : (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: : /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
: :
: :
: The C application is already compiled. The situation is the HTML and
: C is on the server running a httpd (Apache). Viewing web pages is
: great. But what would the requirments be if I wanted to have an
: executable run in the browser from the HTML document? Is it
: possible?
If you want to run a compiled C program in the browser, you're in for a lot of trouble. For security reasons alone there is no real way of doing this. Also remember that a C program is compiled to target a particular platform. You'll be handling requests from many platforms.
: Would it be better If I rewrote the C program in PHP or somthing?(
: I'm trying to avoid rewritting anything)
PHP is also server side. When we are talking about server side web applications, we are talking about a program that generates HTML code, which the web server then sends to the browser. Is this what you want to do?
Jonathan
###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");