in reply to RUN A FILE FROM HTML

HTML is a document format, and as such doesn't "do" anything.

It can contain instructions which when followed by a browser, can cause that browser to do something; or instructions that when followed by a browser, can cause the browser to ask a web server to do something.

Please explain the end result you hope to achieve and we'll let you know the best way of achieving it.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^2: RUN A FILE FROM HTML
by majo (Novice) on May 10, 2012 at 16:57 UTC

    Hi Tobylink. thanks for the reply What I want call the file from HTML. Is it possible to use hyperlink?The result I want is exactly the result I want when I run the file in perl that is ti print the result which is the latency result and also save this result into text or html file Thanks

      I think what you mean is that you want to make these scripts run on a web server and display their results on a web page. By the sounds of it you don't have a clear understanding of what server side scripting is, and what HTML is. There is a bit of a learning curve, I think the best place for you to start would be with Ovid's CGI Course (see also the Web Programming section of tutorials). Once you have specific questions please let us know what you need help with.

        Thanks for the advice. will do that

A reply falls below the community's threshold of quality. You may see it by logging in.