Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Arachne DGI like functionality in Links (Announce)

posted by Oso2k(R), 21.07.2017, 03:22

Say I have a local index html file like so


<a h ref="mem.bat">Find current system RAM</a>
<form method="get" action="save.bat">
<input type="text" name="name" value="user">
<input type="password" name="pword" value="123456789">
<button type="submit">Save</button>
</form>


Clicking the link, I want to call (like CGI or DGI) mem.bat (a batch file the runs mem /c/p and returns it as some html and have links render the results. Exactly how links interacts with a web site.

If I click the form's Save button, I want to call save.bat, pass it a string (as file or env var) of ?name=user&pword=123456789 and then return a response in html and have links render the results. Exactly how links interacts with a web site for a form.

 

Complete thread:

Back to the forum
Board view  Mix view
15157 Postings in 1361 Threads, 250 registered users, 17 users online (0 registered, 17 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum