Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÔÚphpͼƬÖÐÊäÈëÖÐÎÄÎÄ×Ö½â¾öÂÒÂë

´úÂ룺
<?php
$im = imagecreatefromjpeg("ok.jpg");
$black = @imagecolorallocate($im, 0,0,0);
$jpgnumid = "ÕâÊÇǶÈ뵽ͼƬµÄÎÄ×Ö£¬½â¾öÁËÂÒÂëÎÊÌâ,
ÉÏÃæµÄok.jpgÊÇͬĿ¼ÏµÄÕÕƬ.ʹÓÃËüʱ£¬»¹ÐèÒªÓÐiconv
Ä£¿é£¡Ò²¾ÍÊÇ˵ÔÚphp.iniÀォ
[iconv]
iconv.input_encoding = ISO-8859-1
iconv.internal_encoding = ISO-8859-1
iconv.output_encoding = ISO-8859-1
ÕâÈýÐеÄ×¢ÊÍÈ«²¿È¥µô£¡ ";
$jpgnumid = @iconv("GB2312","UTF-8",$jpgnumid);
@imagettftext ($im,25,0,0,500,$black,"MissYuan_ÃÔÄã¼òÁâÐÄ.TTF",$jpgnumid);
header("Content-type: image/jpeg");
imagejpeg($im);
imagedestroy($im);
?>


Ïà¹ØÎĵµ£º

PHP ÖÆ×÷ͨѶ¼£¨Ò»£©

×î½üÔÚѧPHP £¬¾õµÃ±È½Ï¼òµ¥£¬¿ÉÄÜÊÇÒòΪÓÐÒ»µã±à³Ì¾­ÑéµÄÔµ¹Ê°É£¬½ñÌì½Ì´ó¼ÒÓÃPHPÖÆ×÷ͨѶ¼£¬¹¦ÄܱȽϼòµ¥£¬µÚÒ»´Î×öÍøÒ³½Ì³Ì£¬¶øÇÒ²»ÊǺÜÓÐPHP¾­Ñ飬ËùÒÔ²»×ãµÄµØ·½´ó¼ÒÁôÑÔ¸æËßÎÒ£¬·Ï»°²»¶à˵£¬ÏÖÔÚ¿ªÊ¼
»·¾³£ºWindows XP SP3 + PHP5 + apache2 + mysql5
Ê×ÏÈ´´½¨Ò»¸öÊý¾Ý¿â£¬ÃûΪ MyDB £¨ÎÒÕâÀïʹÓõÄÊÇMySQL£©£¬SQL ......

windows2003+iis6+php+mysql ·þÎñÆ÷ÅäÖÃ

ÔÚÍøÉÏ¿´Á˺ܶà¹ØÓÚwindows2003+iis6+php+mysql ·þÎñÆ÷ÅäÖõÄÎÄÕ£¬´óÌåÉ϶¼ÊÇ»¥Ïà³­Ï®£¬²»¹ýһЩ¹«¹²µÄÐÅÏ¢»¹ÊǺÜÕýÈ·µÄ£¬µ«ÊÇÕë¶ÔһЩÌرðµÄ»úÆ÷»òÕßÒòΪ¸öÈ˲»Í¬µÄÅäÖÃ×ܲ»ÄÜ°´ÕÕÎÄÕµÄÄÚÈݲÙ×÷³É¹¦£¬ÏÂÃæ˵һÖÖ½ÏΪ¼òµ¥µÄ²Ù×÷·½·¨£¬²½ÖèÈçÏ£º
1.iis°²×°£¨ÂÔ£©
2.ÏÂÔØAppServ²¢°²×°
3.ÔÚc:\½¨php5Îļþ¼Ð£¬È»ºóÔÙphp5 ......

mysql+phpÎÞ·¨Á¬½Ósql£¨Òѽâ¾ö£©

¸ãÁ˺ܾᣡ£ÖÕÓÚ·¢ÏÖÔ­À´ÊÇȨÏÞÎÊÌâ¡£¡£
2ÐÐÃüÁî¸ã¶¨
grant all privileges on rogue.* to admin@localhost identified by 'admin' with grant option
grant all privileges on rogue.* to admin@'%' identified by 'admin' with grant option
¾­µäÁË¡£¡£¡£
ħÁ¦Ë½·þÍøÒ³¶Ë¸ã¶¨¿©~~ ......

phpɾ³ý ¸´ÖÆÎļþ¼Ð¼°ÆäÎļþ¼ÐÏÂËùÓÐÎļþ

<?php
  *   xCopy("feiy","feiy2",1):¿½±´feiyϵÄÎļþµ½   feiy2,ÍÆÏúÔ±µÄÒ»Ìì,°üÀ¨×ÓĿ¼    
  *²ÎÊý˵Ã÷£º    
  *   $destination:Ä¿µÄĿ¼Ãû    
  ......

PHP»º´æ¼¼ÊõÏê½â

PHP»º´æ¼¼ÊõÏê½â
Ò»¡¢»º´æ¼¼Êõ:   
ÓÐЩÐÅÏ¢±È·½¾­³£²»±äµÄ,µ«ÊÇ»¹ÊÇÄܱäµÄÐÅÏ¢·ÅÔÚ»º´æÖÐÒÔ¼Ó¿ìÏÔʾËÙ¶È,ÕâÊǺÜÓмÛÖµµÄ,ËùνµÄ»º´æ,ͨË×µÄÀí½â¾ÍÊÇһЩ±£´æÔÚ·þÎñÆ÷¶ËµÄ¹²ÓÃЊϢ.ËüÊÇÓÚ·þÎñÆ÷ͬÉúËÀµÄ,ÎÒÃÇÔÚ±£´æ»º´æµÄʱºò¿ÉÒÔÖ¸¶¨Ï´θüеÄʱ¼äµÄÅжÏ,±È·½ÒªÔÚ5·ÖÖÓ¸üÐÂÒ»´Î,¿ÉÒԼǼÉϴθüеÄʱ¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ