Common Gateway Interface:Web服務器與外部程序交互的標準接口。瀏覽器提交表單 → 服務器啟動CGI程序 → 程序處理輸出HTML → 服務器返回瀏覽器。
/cgi-bin/query.cgi)stdin讀取POST數據,或QUERY_STRING獲取GET數據Content-Type: text/html\n\n + HTML內容到stdout
", line); count++; } } printf("
共找到 %d 條記錄: %s
", count, keyword); fclose(fp); return 0; }
開房記錄查詢
數據來源:網絡公開數據,僅供測試學習,請遵守法律法規