You can execute perl code from html file using embperl. From the perl you
can execute command any os command.
Regards,
Mukund Deshmukh
Beta Computronics Pvt. Ltd.
Web site - http://betacomp.com

-----Original Message-----
From: PJN <[EMAIL PROTECTED]>
To: aruri Badraiah <[EMAIL PROTECTED]>;
[EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Monday, January 21, 2002 5:10 PM
Subject: RE: [LIH] HTML HELP


>
>>> cany any body help in this regard that I am
>>> writing a html file. I want to make use of os commands
>>> from the browser. i.e. How to invoke os commands
>>> while writting html code.
>
>You cannot execute system commands from HTML. However, if I get your
meaning
>right, it is possible to execute shell scripts as CGI. Put the shell script
>in your cgi-bin directory. You will need to put in a MIME-type header.
>However, bear in mind that although this is possible, it is not a very safe
>thing to do.
>
>Your MIME header entry would be:
>echo "Content-type: text/plain"
>and should come near the top of your file.
>
>PJN
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>_______________________________________________
>linux-india-help mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/linux-india-help
>



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to