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()
{
//
Ïà¹ØÎĵµ£º
PHPÖеÄMYSQL³£Óú¯Êý×ܽá
1¡¢mysql_connect()-½¨Á¢Êý¾Ý¿âÁ¬½Ó
¸ñʽ£º
resource mysql_connect([string hostname [:port] [:/path/to/socket] [, string username] [, string password]])
Àý£º
$conn = @mysql_connect("localhost", "username", "password") or dir( ......
²âÊÔ£º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();
$(" ......
µ±ÎÒÃÇÓÃWINDOWSËÑË÷ij°üº¬Ä³ÎÄ×ÖµÄÎļþʱ£¬¿ÉÒÔÔÚ“°üº¬ÎÄ×Ö”´¦ÌîÉÏËÑË÷´Ê¡£µ«ÊÇһЩ²»³£¼ûµÄºó׺ÃûÎļþWINDOWS²»»áËÑË÷£¬È磺£¬.log¡¢.dll¡¢.js¡¢.asp¡¢.xml¡¢.xsl¡¢.hta¡¢.css¡¢.wsh¡¢.cpp¡¢.c »ò .hµÈ¼°ÎÞºó׺ÃûµÄÎļþ¡£¶ÔÓÚÎҵȳÌÐò°®ºÃÕßÀ´ËµÊµÔÚÌ«²»·½±ãÁË£¬ËäÈ»ÓГÎı¾Ìæ»»´óʦ”µÈÈí¼þÄÜ×öÕ ......
×î½ü¹¤×÷ÖÐÓöµ½Ò»¸öÍ·ÌÛµÄÎÊÌâ:phpÖе÷ÓÃÒ»¸ö´æ´¢¹ý³Ì(Òª¸´ÖÆN¶àÊý¾ÝµÄ.),ÓÉÓڴ˹ý³ÌÖ´ÐÐʱ¼äºÜ³¤.µ¼ÖÂphp×ÜÊdz¬Ê±´íÎó:
Service Temporarily Unavailable
The
server is temporarily unable to service your request due to maintenance downtime
or capacity problems
.
Please
try
again
later
.
ÎÊÌ ......
×òÌì»Ø¼ÒÀ´£¬½ñÌì´ÖÂÔ¿´ÁËһϡ¶´óµÀPHP¡·£¬ÊéºÜϸ£¬C++µÄÒ²ÊÇ´ó¸Å¿´ÁËһϣ¬×ÜÖ®£¬ÊÕ»ñ²»´ó£¬Ò²ÐíµÚÒ»ÌìµÄÔµ¹Ê°É¡£
±ØÐëÅųý¸ÉÈÅ£¬ËÀÐÄÌ£µØµÄѧϰÁË£¬¸ßЧµÄÍê³Éº®¼ÙµÄÈÎÎñ£¬PHPºÍC++»ù±¾¹¦£¬VC++£¬MFC£¬¿ÉÄܵϰ£¬·ÖÎöÒ»ÏÂDizcussÒ²ÊDz»´íµÄ£¬Ñø³ÉÁ¼ºÃµÄ±à³Ì·ç¸ñºÍϰ¹ß¡£Ï°ëÄ꣬ ......