具体的url是 cgi_obj?param1=1&path=192.168.2.1
要获取path的值,可以用下面的语句来将192.168.2.1存入file_path变量。
CHAR file_path[MAX_PATH];
cgiFormString("path", file_path, sizeof(file_path));
具体的url是 cgi_obj?param1=1&path=192.168.2.1
要获取path的值,可以用下面的语句来将192.168.2.1存入file_path变量。
CHAR file_path[MAX_PATH];
cgiFormString("path", file_path, sizeof(file_path));