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
在写Android的XML布局文件时,在ImageView或ImageButton中经常会碰到一个提示:Missing contentDescription
attribute on image.这个属性是做什么的呢?其实这个属性是方便一些生理功能有缺陷的人使用应用程序的。比如我们有一个ImageV...
分类:
移动开发 时间:
2014-05-27 01:02:17
阅读次数:
284
In a traditional camera, the lens was king. If
the lens delivered a decent image, exactly that image would be recorded on the
film. As the original im...
分类:
其他好文 时间:
2014-05-24 06:25:15
阅读次数:
348
vsftpd的简单配置参考此教程
传送门教程内xinetd的配置失效,用xinetd方式启动ftp方式如下1、在/etc/xinetd.d/目录中创建一个文件vsftpd内容如下:service
ftp{ socket_type = stream ...
分类:
Web程序 时间:
2014-05-24 03:09:16
阅读次数:
304
乱搞分区磁盘什么的导致开机和这位仁兄一样:http://zhidao.baidu.com/question/495602654256708364.html?ssid=0&from=1001874a&uid=0&pu=usm%401%2Csz%401320_1002&bd_page_type=1&ba...
in_array(value,array,type)该函数的作用是在数组array中搜索指定的value值,type是可选参数,如果设置该参数为
true ,则检查搜索的数据与数组的值的类型是否相同,即恒等于。array_key_exists(key,array)该函数是判断某个数组array中是否...
分类:
Web程序 时间:
2014-05-24 00:25:11
阅读次数:
284
转载自:http://hc.csdn.net/contents/content_details?type=1&id=3411.展开循环如果提前知道了循环的次数,可以进行循环展开,这样省去了循环条件的比较次数。但是同时也不能使得kernel代码太大。
1 #include 2 using namesp...
分类:
其他好文 时间:
2014-05-23 23:56:27
阅读次数:
556
what is websocketsTwo-way communication over
ont TCP socket, a type of PUSH technology HTML5的新特性,用于双向推送消息(例如网页聊天,手机推送消息等)
原理:client利用regular http请求w.....
分类:
Web程序 时间:
2014-05-23 11:28:28
阅读次数:
560