上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 33 下一页
  2017年9月18日
摘要: 今天解压ZendStudio-10.0.0-x86.tar.gz,使用命令tar -zxvf ZendStudio-10.0.0-x86.tar.gz ./然后报下面错误tar: /tm: 归档中找不到tar: 由于前次错误,将以上次的错误状态退出然后,搜索还以为文件不对,或者是解压命令不对呢。最后 阅读全文
posted @ 2017-09-18 09:46 baraka 阅读(3115) 评论(0) 推荐(0) 编辑
  2017年9月13日
摘要: //$fname文件名称 if ($fname = $_FILES['nickname']['tmp_name']) { //file_get_contents() 函数把整个文件读入一个字符串中。 $contents = file_get_contents($fname); //获取文件的编码方式 阅读全文
posted @ 2017-09-13 18:51 baraka 阅读(3668) 评论(0) 推荐(0) 编辑
摘要: 最简单的办法就是直接在php程序代码中加入下面代码: 复制代码代码如下: error_reporting(E_ALL^E_NOTICE^E_WARNING); 可以关闭所有notice 和 warning 级别的错误。 把这个语句放在您脚本的功用包含文件中,通常为config.php 或者conn. 阅读全文
posted @ 2017-09-13 09:42 baraka 阅读(385) 评论(0) 推荐(0) 编辑
  2017年8月28日
摘要: 自己写的方法,需要的话可以借鉴一下 const char* onepara="/s/data/pre/bakdata/1/1.jpg"; const char* filename=strrchr(onepara,'/'); const char* datatype=onepara+strlen("/ 阅读全文
posted @ 2017-08-28 11:31 baraka 阅读(284) 评论(0) 推荐(0) 编辑
  2017年8月27日
摘要: #include "stdafx.h"#include <string>using namespace std;int _tmain(int argc, _TCHAR* argv[]){ string s1="E://money//20170823-cs//8.jpg"; string s2="E: 阅读全文
posted @ 2017-08-27 18:49 baraka 阅读(1747) 评论(0) 推荐(0) 编辑
  2017年8月25日
摘要: 1.今天写js碰到一个奇怪的问题,写好的js放到body里面执行,但是放到head中没有任何效果,为什么导致这种原因呢? 看失效代码: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <!DOCTYPE html PUBLIC "-//W3C 阅读全文
posted @ 2017-08-25 15:42 baraka 阅读(2406) 评论(0) 推荐(0) 编辑
  2017年8月23日
摘要: 目录(?)[-] 本系列文章由zhmxy555(毛星云)编写,转载请注明出处。 文章链接: http://blog.csdn.net/poem_qianmo/article/details/19809337 作者:毛星云(浅墨) 邮箱: happylifemxy@163.com 写作当前博文时配套使 阅读全文
posted @ 2017-08-23 22:09 baraka 阅读(494) 评论(0) 推荐(0) 编辑
  2017年8月22日
摘要: for语法格式 for var in list;do commands done 其中list可以包含: 1) 直接写 2)变量 在shell执行的时候会进行变量替换,上面的list变量替换之后,for循环的形式和1中的形式一模一样。但是如果为$list加上了引号,即如果写为下面的形式: shell 阅读全文
posted @ 2017-08-22 11:49 baraka 阅读(271) 评论(0) 推荐(0) 编辑
  2017年8月15日
摘要: Lua中,os.execute可以执行dos命令,但是返回的是系统状态码,默认输出。io.popen()也可以执行dos命令,但是返回一个文件。eg: 复制代码 代码如下: local t = io.popen('svn help')local a = t:read("*all")--a返回一个字符 阅读全文
posted @ 2017-08-15 11:48 baraka 阅读(2439) 评论(0) 推荐(0) 编辑
摘要: local getTime = os.date(“%c”); 其中的%c可以是以下的一种:(注意大小写) 如获取当前年月日时分秒:local date=os.date(“%Y-%m-%d %H:%M:%S”); os.time() 获取当前秒 阅读全文
posted @ 2017-08-15 11:38 baraka 阅读(10462) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 33 下一页