上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 45 下一页

2010年6月4日

c写cgi cookies 设置与读取

摘要: 验证用户登录后,把用户名和密码写入cookies:int checkadminlogin(){ char name[81]; char pass[81]; char tempUserName[81]; char tempUserPass[81]; cgiFormStringNoNewlines("username", name, 81); cgiFormStringNoNewlines... 阅读全文

posted @ 2010-06-04 09:55 风乔 阅读(472) 评论(0) 推荐(0) 编辑

cgi 操作封装

摘要: #ifndef _CGI_HELPER_2005_06_06#define _CGI_HELPER_2005_06_06////////////////////////////////////module name: cgi 操作封装//author: wwjs(华有为)//create date: 2005-06-06//modify date: 2005-06-06//modify... 阅读全文

posted @ 2010-06-04 09:52 风乔 阅读(416) 评论(0) 推荐(0) 编辑

c 写cgi 与socket通信

摘要: 服务器端:int sock(){int port=7777;struct sockaddr_in sin;struct sockaddr_in pin;int sock_fp;int temp_sock_fp;int size_of_addr;char *msg="hello internet!"char buff[2561];sock_fp = socket(AF_INET,SOCK_STREA... 阅读全文

posted @ 2010-06-04 09:51 风乔 阅读(491) 评论(0) 推荐(0) 编辑

2010年5月31日

承接B2C商城定制开发 空间+域名+风语商城系统=¥4000

摘要: http://www.bvbuy.cn/shop.html风语商城系统空间+域名+风语商城系统=¥4000联系qq 251967369 阅读全文

posted @ 2010-05-31 17:58 风乔 阅读(131) 评论(0) 推荐(0) 编辑

c# socket传送大文件

摘要: c# socket传送大文件using System;using System.Threading;using System.Net;namespace FileSender{ class Program { static void Main(string[] args) { string file = Console.Rea... 阅读全文

posted @ 2010-05-31 17:41 风乔 阅读(748) 评论(0) 推荐(0) 编辑

c语言 断点续传3

摘要: /* Initialize from ini file */int sbase_initialize(SBASE *sbase, char *conf){ char line[HTTP_HEAD_MAX], *s = NULL, *p = NULL, *cacert_file = NULL, *privkey_file = NULL; int n = 0, i ... 阅读全文

posted @ 2010-05-31 16:33 风乔 阅读(443) 评论(0) 推荐(0) 编辑

C 语言 断点续传2

摘要: /* packet handler */int xhttpd_packet_handler(CONN *conn, CB_DATA *packet){ char buf[HTTP_BUF_SIZE], file[HTTP_PATH_MAX], line[HTTP_PATH_MAX], *host = NULL, *mime = NULL, *home = NULL, *p... 阅读全文

posted @ 2010-05-31 16:32 风乔 阅读(387) 评论(0) 推荐(0) 编辑

c语言 断点续传

摘要: #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_ZLIB#include #endif#ifdef HAVE_BZ2LIB#include #endif#include "iniparser.h"#include "http.h"#includ... 阅读全文

posted @ 2010-05-31 16:30 风乔 阅读(1310) 评论(0) 推荐(0) 编辑

2010年5月28日

正则过滤汉字

摘要: Regex reg = new Regex(@"[\u4e00-\u9fa5]+"); string content = "13440900984\r\n13440900984\r\n你好\r\n13440900984\r\n你好\r\n13440900984\r\n13440900984\r\n13440900984\r\n13440900984\r\n13440900984\r\n134409... 阅读全文

posted @ 2010-05-28 09:40 风乔 阅读(226) 评论(0) 推荐(0) 编辑

2010年5月26日

16进制 SQL注入

摘要: dEcLaRe @s vArChAr(8000) sEt @s=0x4465636c617265204054205661726368617228323535292c4043205661726368617228323535290d0a4465636c617265205461626c655f437572736f7220437572736f7220466f722053656c65637420412e4e... 阅读全文

posted @ 2010-05-26 12:38 风乔 阅读(324) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 45 下一页

导航