首 页 ASP ASP.NET PHP JSP Ajax DIV+CSS JavaScript XML C#
MySQL MSSQL Access Oracle Linux Server 电脑技巧 网络安全 建站经验 其它

PHP实现给上传图片加水印图案

整理日期:2009年04月18日 【字体:


伊图教程网[www.etoow.com]
http://www.etoow.com/html/2009-04/1240012975.html
  'image/gif',

  'image/bmp',

  'image/x-png'

  );

  $max_file_size=2000000; //上传文件大小限制, 单位BYTE

  $destination_folder="uploadimg/"; //上传文件路径

  $watermark=1; //是否附加水印(1为加水印,其他为不加水印);

  $watertype=1; //水印类型(1为文字,2为图片)

  $waterposition=1; //水印位置(1为左下角,2为右下角,3为左上角,4为右上角,5为居中);

  $waterstring="http://www.xplore.cn/"; //水印字符串

  $waterimg="xplore.gif"; //水印图片

  $imgpreview=1; //是否生成预览图(1为生成,其他为不生成);

  $imgpreviewsize=1/2; //缩略图比例

  ?>

  <html>
  <head>
  <title>图片上传程序</title>
  <style type="text/css">
  <!--
  body
  {
Tags:PHP   实例解析   图片   水印   图案
PHP实现给上传图片加水印图案
'http://www.etoow.com/html/2009-04/1240012975.html
1
 
23
信息搜索
  
联系我们关于本站广告服务设为首页 收藏本站友情链接网站地图
Copyright © Etoow.com Inc. All Rights Reserved