服务器端:server.c #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <netinet/in.h> #include <s ...
分类:
系统相关 时间:
2017-08-08 15:28:09
阅读次数:
222
<?phpheader('content-type:text/html;charset=utf-8');$mysqli = new mysqli('localhost', 'root', '', 'c');if ($mysqli->errno) { die('Connect Error' . $my ...
分类:
Web程序 时间:
2017-08-05 15:36:41
阅读次数:
189
<?phpheader("Content-Type:text/html;charset=utf-8");require_once 'reader.php';$mysqli = new mysqli('localhost', 'root', '', 'c');if ($mysqli->errno) { ...
分类:
Web程序 时间:
2017-08-05 15:36:32
阅读次数:
184
实例 通过 set_error_handler() 函数设置用户自定义的错误处理程序,然后触发错误(通过 trigger_error()): <?php // 用户定义的错误处理函数 function myErrorHandler($errno, $errstr, $errfile, $errlin ...
分类:
Web程序 时间:
2017-08-04 14:27:49
阅读次数:
204
因mysql从库报错Last_IO_Error: Got a packet bigger than 'max_allowed_packet' bytes mysql> show slave status\G; *************************** 1. row ********** ...
分类:
数据库 时间:
2017-08-03 17:40:30
阅读次数:
231
1 SSL: certificate subject name 'WMSvc-GWAMSERVER02' does not match target host name 把curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); 2 Curl error: S ...
分类:
Web程序 时间:
2017-08-02 15:02:07
阅读次数:
309
这里列出Android里将aac编码器输出的音频帧加上ADTS头的代码:+inttmpFd;+tmpFd=::open("/data/src.aac",O_WRONLY|O_APPEND);+if(tmpFd<0){+LOGE("Nodumpdecodefile%s",strerror(errno));+}+else+{+unsignedcharadts_hdr[7]={0xff,0xf9,0x5c,0x80,0x00,0x1f,0xfc};++adts_hd..
分类:
其他好文 时间:
2017-08-01 21:53:40
阅读次数:
198
在使用fedora17 系统的yum源的时候出现了如下错误: Error: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try. 参照网上的做法: (一般yum有变更都需要这两个操作) [javas ...
分类:
系统相关 时间:
2017-07-29 16:31:07
阅读次数:
232
Loadrunner11破解 破解工具下载:http://pan.baidu.com/disk/home?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0#list/vmode=list&path=%2Floadrunner%E7%A0% ...
分类:
其他好文 时间:
2017-07-28 22:24:39
阅读次数:
206
<?php//服务器信息$server = 'udp://127.0.0.1:7002';// UDP Server$msgEof = "\n";$socket = stream_socket_server($server, $errno, $errstr, STREAM_SERVER_BIND); ...
分类:
Web程序 时间:
2017-07-28 12:48:17
阅读次数:
193