利用CGIC获得URL参数
时间:2010-12-04 来源:dongliqiang1985
源码如下:
cgitest_qiang.c
#include <stdio.h> |
Makefile
CFLAGS=-g -Wall CC=gcc AR=ar RANLIB=ranlib LIBS=-L./cgic205 -lcgic CP=cp TARGET_DIR =/var/www/appweb-default/test all:clean cgitest_qiang.cgi install cgitest_qiang.cgi: cgitest_qiang.c $(CC) -o cgitest_qiang.cgi ${LIBS} cgitest_qiang.c install: $(CP) cgitest_qiang.cgi $(TARGET_DIR) clean: rm -f *.o cgitest_qiang.cgi |
|