Q&A > CGI programming
Description:
Hi! Is it possible to activate a CGI script when the website loads instead of when the user clicks a button? If so, how? Thanks a lot, VoytekAnswer: How to load a cgi script when the webpage loads contributed by jonknee To use server side includes just add this code to your page: make sure your server can handle them and name your page with the .shtml ending. |
Answer: How to load a cgi script when the webpage loads contributed by merlyn Sure. Either make that page a CGI-generated page, or use something like Server-side Includes. |
Answer: How to load a cgi script when the webpage loads contributed by zentara You could also load a cgi script with the image tag.
|
Answer: How to load a cgi script when the webpage loads contributed by LogicalChaos If you want the cgi script instead of a page (default.html for instance), redirect from your page to your cgi script: <META HTTP-Equiv="Refresh" CONTENT="3; URL=http://your.place.com/cgi/my.cgi"> |
Please (register and) log in if you wish to add an answer
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |