CGI 的標準入出力


  WSH ( Jscript )



AN HTTP Server で、.js を cscript.exe //Nologo で登録

  
// オブジェクト作成
var WshShell = new ActiveXObject("WScript.Shell");

// システム環境変数を取得
var WshSysEnv = WshShell.Environment("PROCESS");
var strMethod = WshSysEnv("REQUEST_METHOD");

WScript.Echo( "Content-Type: text/html; Charset=shift_jis" );
WScript.Echo( "" );

WScript.Echo( strMethod + "<br>" )

if ( strMethod == "GET" ) {
	strQueryString = WshSysEnv("QUERY_STRING");
	WScript.Echo( strQueryString );
}

if ( strMethod == "POST" ) {
	WScript.Echo( WScript.StdIn.ReadAll() );
}
  










  infoboard   管理者用   





フリーフォントWEBサービス
SQLの窓WEBサービス

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ