[Overview][Constants][Procedures and functions] | Reference for unit 'pwumain' (#powtils_main) |
Source position: pwumain.pas line 72
function IsCgiVar( |
const name: String |
):Boolean; |
begin if IsCgiVar('edit1') then webwrite('A widget with name "edit1" was on a form that posted to this program!'); end.If you visit a URL such as http://url.com/cgi-bin/prog?var=hello
begin if IsCgiVar('var') then webwrite('var was found in url'); end.As you can see, a variable in a URL or an edit widget are both detected with IsCgiVar.