summaryrefslogtreecommitdiff
path: root/ws2a/bugcomment.c
diff options
context:
space:
mode:
Diffstat (limited to 'ws2a/bugcomment.c')
-rw-r--r--ws2a/bugcomment.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c
index 6bd70f2..d96a0ef 100644
--- a/ws2a/bugcomment.c
+++ b/ws2a/bugcomment.c
@@ -79,15 +79,13 @@ int main(){
printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10);
printf("<p>data:%s",data);
- /*
+
char name[15];
char userid[20];
char comment[2048];
char captcha[25];
char bugid[5];
- */
- /*
char* iname = strtok(data,"&");
char* iuserid = strtok(NULL,"&");
char* icomment = strtok(NULL,"&");
@@ -99,12 +97,14 @@ int main(){
sscanf(icomment,"comment=%s",comment);
sscanf(icaptcha,"captcha=%s",captcha);
sscanf(ibugid,"bugid=%s",bugid);
- */
+
+ /*
char* name = "Apickx";
char* userid = "ThestID";
char* comment = "This+Is+My+Comment";
char* captcha = "teeny-tiny+currency";
char* bugid = "1";
+ */
printf("<p>name:%s<p>userid:%s<p>comment:%s<p>captcha:%s<p>bugid:%s",name,userid,comment,captcha,bugid);