摘要: Centos做服务器,使用VBOX安装Centos系统后不能上网 找到/etc/sysconfig/network-scripts/ifcfg-enp0s3文件 由于该文件存在权限问题,因此修改其权限为777 1 1 将 ONBOOT=no 改为 ONBOOT=yes 重启网卡 1。本机能ping通 阅读全文
posted @ 2017-02-08 09:28 纵观 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 两表合并查询,并同时展示及分页SELECT a.* FROM ( ( SELECT punycode, `domain`, 'Success' AS state, add_time, ... 阅读全文
posted @ 2016-12-09 10:52 纵观 阅读(5212) 评论(0) 推荐(0) 编辑
摘要: $base64 = "/9j/4AAQSkZJRgABAQEAkACQAAD/4QCMRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAA 阅读全文
posted @ 2016-11-15 10:27 纵观 阅读(553) 评论(0) 推荐(0) 编辑
摘要: 写的用于图片上传的公共方法类调用方法: $upload_name='pic';$type = 'logo_val';$file_name = 'logo_' . $user_id .create_strcode(5). '.jpg'; //保存文件名$savepath = "/uploads/use 阅读全文
posted @ 2016-09-02 14:11 纵观 阅读(1748) 评论(0) 推荐(0) 编辑
摘要: $path = APPPATH . '../htdocs/download/corp/商标申请委托书模版.doc';$filename = '商标申请委托书模版.doc';header("Content-Type: application/force-download");header("Conte 阅读全文
posted @ 2016-08-31 13:58 纵观 阅读(266) 评论(0) 推荐(0) 编辑
摘要: html: <img id="img1" src="<?php echo $info->business_licence_img; ?>" style="cursor: pointer" width="200" height="200" /> //原图 <style typpe="text/css" 阅读全文
posted @ 2016-08-30 14:36 纵观 阅读(395) 评论(0) 推荐(1) 编辑
摘要: url示例:sort=id+desc&&fq=date_time:[20081001 TO 20091031]&wt=json&json.nl=map&q=state:ForSale && sell_form:FixedPrice && product_name:*1* && product_nam 阅读全文
posted @ 2016-04-28 17:29 纵观 阅读(2887) 评论(0) 推荐(0) 编辑
摘要: http://127.0.0.1:8095/shangbiao_sale/select?sort=id+desc&fq=&wt=json&json.nl=map&q=state%3AForSale+%26%26+sell_form%3AFixedPrice+%26%26+product_name%3 阅读全文
posted @ 2016-04-26 16:00 纵观 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 什么是缓冲区?简单而言,缓冲区的作用就是,把输入或者输出的内容先放进内存,而不显示或者读取.至于为什么要有缓冲区,这是一个很广泛的问题,如果有兴趣,可以在网山找下资料.其实缓冲区最本质的作用就是,协调高速CPU和相对缓慢的IO设备(磁盘等)的运作. PHP在执行的时候,在什么地方有用到缓冲区?想要了 阅读全文
posted @ 2016-04-22 16:10 纵观 阅读(119) 评论(0) 推荐(0) 编辑
摘要: $fp = fsockopen("www.jb51.net", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno) "; } else { $out = "get / http/1.1 "; $out .= "host: www. 阅读全文
posted @ 2016-04-21 16:04 纵观 阅读(462) 评论(0) 推荐(0) 编辑