1.IMAGE.SAVE(@path)string
path=System.Web.Hosting.HostingEnvironment.MapPath(“~/Images”)函数得到的路径
如果用在IMAGE.SAVE(@path) 函数中 需要转义符号或者path= path.Replace("...
分类:
其他好文 时间:
2014-05-27 01:33:19
阅读次数:
266
这一篇我们来看看那如何给图片添加水印,其实是把原图片和水印图片合并在一起。先看文件check_image_addwatermark.php代码 Here is
your pic! Your image...
分类:
Web程序 时间:
2014-05-27 01:09:05
阅读次数:
338
php中制作缩略图的方法也很简单,是用imagecopyresampled方法根据源图制作一个小一点的图片,来看代码check_image_addthumbs.php
Here is your pic! ...
分类:
Web程序 时间:
2014-05-27 01:03:23
阅读次数:
407
Welcome to StackEdit! Hello, I am your first
Markdown document within StackEdit1. Don’t delete me, I can be helpful. I can be
recovered anyway in the ...
分类:
其他好文 时间:
2014-05-19 17:50:48
阅读次数:
407
试了不少方法,最后还是这个最有效。[转自:http://thatsimplecode.com/install-mongodb-driver-for-php-on-xampp-for-mac-osx]You
need to have the following installed in your Ma...
分类:
数据库 时间:
2014-05-18 19:10:28
阅读次数:
305
【题目】
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:
其他好文 时间:
2014-05-18 08:37:57
阅读次数:
370
var arr1=[1,2,3,4];var
arr2=arr1;arr2.push(5);console.log(arr1);//和arr2一样console.log(arr1==arr2);//trueconsole.log(arr1===arr2);//truefunction
Cat(nam...
分类:
Web程序 时间:
2014-05-18 00:19:28
阅读次数:
275
既有环境:1)下载安装p4merge2)安装git下面是配置p4merge为git
mergetool的步骤1. /usr/local/bin下创建extMerge文件:$ cat >>
/usr/local/extMerge#!/bin/sh/Applications/IDE/p4merge.ap...
分类:
其他好文 时间:
2014-05-17 21:41:46
阅读次数:
354
0.学习时间 2014-05-161.命令格式 nl [参数]
文件名 (文件名也缺省的情况下, 从标准输入中读入)2.命令参数 -b t 空行不加行号(默认) -b a 空行也加行号(类似于cat -n) -n ln
设置行号显示左对齐 -n rn 设置行号显示右对齐(默认) ...
分类:
系统相关 时间:
2014-05-17 20:51:26
阅读次数:
299
console.log()console.warn() 警告console.error()
错误console.group() 分组 console.grounpEnd() 分组结束console.dir() 输出所有信息var cat =
{};cat.name = "mm";cat.sex .....
分类:
其他好文 时间:
2014-05-17 19:41:31
阅读次数:
370