简体   繁体   中英

bash: make cgi-script don't open new page

Is there a way to stay on existing page when initialize a cgi-script? Script is written using bash. The page itself is very big to just echo his contens.

If I understand you correctly you wan to run a server-side CGI script from a wbe page without reloading the page? You can do this using AJAX - you would write some JavaScript to call the server-side script, this wouldn't require a new page to be loaded in the browser.

Something like this should do it

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM