phpͼƬ´¦ÀíÀࣺËõÂÔ£¬²Ã¼ô£¬Ô²½Ç£¬Çãб
<?php
/*
ͼƬ´¦ÀíÀࣺËõÂÔ£¬²Ã¼ô£¬Ô²½Ç£¬Çãб
*/
class resizeimage
{
//ͼƬÀàÐÍ
var $type;
//ʵ¼Ê¿í¶È
var $width;
//ʵ¼Ê¸ß¶È
var $height;
//¸Ä±äºóµÄ¿í¶È
var $resize_width;
//¸Ä±äºóµÄ¸ß¶È
var $resize_height;
//ÊÇ·ñ²Ãͼ
var $cut;
//ԴͼÏó
var $srcimg;
//Ä¿±êͼÏóµØÖ·
var $dstimg;
//Ô²½ÇÔ´
var $corner;
var $im;
function resizeimage($img, $corner, $wid, $hei,$c, $corner_radius, $angle)
{
$this->srcimg = $img;
$this->corner = $corner;
$this->resize_width = $wid;
$this->resize_height = $hei;
$this->cut = $c;
$this->corner_radius = $corner_radius;
$this->angle = $angle;
//ͼƬµÄÀàÐÍ
$this->type = substr(strrchr($this->srcimg,"."),1);
//³õʼ»¯Í¼Ïó
$this->initi_img();
//Ä¿±êͼÏóµØÖ·
$this -> dst_img();
//--
$this->width = imagesx($this->im);
$this->height = imagesy($this->im);
//Éú³ÉͼÏó
$this->newimg();
ImageDestroy ($this->im);
}
function newimg()
{
//
Ïà¹ØÎĵµ£º
ģʽÐÞÕý·û — ½â˵ÕýÔò±í´ïʽģʽÖÐʹÓõÄÐÞÕý·û
˵Ã÷
ÏÂÃæÁгöÁ˵±Ç°ÔÚ PCRE ÖпÉÄÜʹÓõÄÐÞÕý·û¡£À¨ºÅÖÐÊÇÕâЩÐÞÕý·ûµÄÄÚ²¿ PCRE Ãû¡£ÐÞÕý·ûÖеĿոñºÍ»»Ðб»ºöÂÔ£¬ÆäËü×Ö·û»áµ¼Ö´íÎó¡£
i (PCRE_CASELESS) Èç¹ûÉ趨´ËÐÞÕý·û£¬Ä£Ê½ÖеÄ×Ö·û½«Í¬Ê±Æ¥Åä´óСд×Öĸ¡£ m£¨PCRE_MULTILINE£© ĬÈÏÇé¿öÏ£¬PCR ......
²âÊÔ£ºhttp://www.yincode.com
Óû§£ºtest1 test2 test3
ÃÜÂ룺123456
=======================================
2010/01/12/18:54:24
=======================================
¹È¸èä¯ÀÀÆ÷ä¯ÀÀ²»Õý³£
main.js
function getData(u,m,callBack){
var ru=u+"&r="+Math.random();
$(" ......
<?php
function toFixLen($str,$len){ //¹Ì¶¨³¤¶È×Ö·û´®µÄ½ØÈ¡
if($len>=strlen($str)||!$len) return $str;
$len-=3;
  ......
<html>
<head><title>ÎļþÉÏ´«</title></head>
<body alink="#FF0000" link="#000099" vlink="#CC6600" topmargin="8" leftmargin="0" bgColor="#FFFFCC">
<?php
if(!$_POST['upload'])
{
?>
<form enctype="multipart/form-data" action="upload.php" method="post"& ......
µ±ÎÒÃÇÓÃWINDOWSËÑË÷ij°üº¬Ä³ÎÄ×ÖµÄÎļþʱ£¬¿ÉÒÔÔÚ“°üº¬ÎÄ×Ö”´¦ÌîÉÏËÑË÷´Ê¡£µ«ÊÇһЩ²»³£¼ûµÄºó׺ÃûÎļþWINDOWS²»»áËÑË÷£¬È磺£¬.log¡¢.dll¡¢.js¡¢.asp¡¢.xml¡¢.xsl¡¢.hta¡¢.css¡¢.wsh¡¢.cpp¡¢.c »ò .hµÈ¼°ÎÞºó׺ÃûµÄÎļþ¡£¶ÔÓÚÎҵȳÌÐò°®ºÃÕßÀ´ËµÊµÔÚÌ«²»·½±ãÁË£¬ËäÈ»ÓГÎı¾Ìæ»»´óʦ”µÈÈí¼þÄÜ×öÕ ......