flex Óë php ÔÚÏßÉú³ÉÎÄ×ÖͼƬµÄÒ»¸ö¼òµ¥¿ò¼Ü
ÒòΪ×î½ü×öÒ»¸öDIYµÄÉè¼ÆÆ÷£¬ÐèÒªÈÃÓû§Ñ¡Ôñij¸ö×ÖÌ壬²¢ÇÒÖ§³ÖÐýת£¬ÍÏÀµÈ²Ù×÷¡£Ö±½ÓʹÓÃÎı¾¿òÊDz»Ðеģ¬ÒòΪflex²»Ö§³Ö×ÖÌåµÄÖ±½ÓÐýת£¬´ó¼Ò¿ÉÒÔ³¢ÊÔһϣ¬Èç¹ûÑ¡ÔñÁËtext¿Ø¼þ£¬ÎÄ×־Ϳ´²»µ½ÁË£¬Óиö°ì·¨ÊÇ°ÑÎÄ×ÖembedǶÈëµ½swfÖÐÈ¥£¬ÕâÑù¾ÍÖ§³ÖÁË¡£
µ«ÊÇÓ¢ÎÄ»¹ºÃ£¬×ÖÌåÎļþ²»´ó£¬ÖÐÎĵĻ°¶¯éü¼¸¸öM£¬Õâ¸ö×ö·¨ºÜ²»ÏÖʵ£¬ÓÚÊÇÏëµ½ÁíÍâÒ»¸ö½â¾ö·½°¸£¬Ó÷þÎñÆ÷×ÖÌå¡£
×öÁ˸öphp demo£¬½ÓÊÕÎÄ×Ö£¬²¢¸ù¾ÝÖ¸¶¨µÄ×ÖÌåÎļþÈ¥Éú³ÉͼƬ£º
<?php
$str = $_GET['str'];
$fontpath= $_GET['fontpath'];
if($str==null||$str==''){
return;
}else{
$str = iconv("GB2312", "UTF-8", $str);//ΪÁËÖ§³ÖÖÐÎÄ
}
$Size = 72;
if($fontpath==null||$fontpath==''){//×ÖÌåµÄ·¾¶
$fontpath='fzse_gbk.ttf';//¿ÉʹÓÃttf×ÖÌå
}
//¶¯Ì¬¼ÆËãÎÄ×ÖÕ¼ÓÃͼƬ´óС
$txts = imagettfbbox($Size,0,$fontpath,$str);
$YX1 = abs($txts[5])*0.23;
$YX2 = abs($txts[2])*0.02;
$IX = abs($txts[2])+$YX2;
$IY = abs($txts[5])+$YX1;
$im = imagecreate($IX,$IY);
$white = imagecolorallocate($im,0xFF,0xFF,0xFF);
imagecolortransparent($im,$white);
$black = imagecolorallocate($im,0x00,0x00,0x00);
imagettftext($im, $Size, 0, 0, $IY-$YX1,$black,"$fontpath",$str);
header("Content-type:image/png");
imagepng($im);//Êä³öµ½¿Í»§¶Ë
imagedestroy($im);
?>
ÕâÑùµÄ»°swfÅäÖÃÒ»¸öxml¾Í¿ÉÒÔÔÚ·þÎñÆ÷¶Ë¶¯Ì¬µÄ¼ÓÈëÈκÎ×ÖÌåÁË
<ttfs>
<font name="·½ÕýÉÙ¶ù" snap="assets/myfonts/fontsnap/impact.jpg" path="fzse_gbk.ttf" lan="ch" />
<font name="·½ÕýÉÙ¶ù2" snap="assets/myfonts/fontsnap/impact.jpg" path="fzse_gbk.ttf" lan="ch" />
<font name="·½ÕýÉÙ¶ù3" snap="assets/myfonts/fontsnap/impact.jpg" path="fzse_gbk.ttf" lan="ch" />
<font name="Ó¢ÎÄ×ÖÌå1" snap="/createfont/snap/demo1.png" path="fzse_gbk.ttf" lan="en" />
<font name="Ó¢ÎÄ×ÖÌå2" snap="/createfont/snap/demo1.png" path="fzse_gbk.ttf" lan="en" />
<font name="Ó¢ÎÄ×ÖÌå3" snap="/createfont/snap/demo1.png" path="fzse_gbk.ttf" lan="en" />
</ttfs>
[img]http://www.idute.co
Ïà¹ØÎĵµ£º
£¨×ª×Ôhttp://www.jb51.net/article/20829.htm£©
ÕâÀï½éÉÜÒ»¸öÖ±½Ó½«excelÎļþµ¼ÈëmysqlµÄÀý×Ó¡£ÎÒ»¨ÁËÒ»ÍíÉϵÄʱ¼ä²âÊÔ£¬ÎÞÂÛµ¼Èë¼ò·±Ì嶼²»»á³öÏÖÂÒÂ룬·Ç³£ºÃÓá£
PHP-ExcelReader,ÏÂÔصØÖ·: http://sourceforge.net/projects/phpexcelreader
˵Ã÷£º
²âÊÔ»·¾³£ºMYSQLÊý¾Ý¿â²ÉÓÃutf8±àÂë.µ¼ÈëEXCELÎĵµÊÇxls¸ñʽ,¾¹ ......
Perl MemcachedµÄ¿Í»§¶ËÐòÁл¯¶ÔÏó²ÉÓõÄÊÇStorableÄ£¿éµÄnfreeze·½·¨£¬¶øÕâ¸ö·½·¨ÓÖµ÷ÓÃÁËcÀ©Õ¹µÄdo_store·½·¨£»·´ÐòÁл¯Ê¹ÓõÄÊÇStorableÄ£¿éµÄthaw·½·¨£¬¶øÕâ¸ö·½·¨ÓÖÊǵ÷ÓõÄcÀ©Õ¹µÄdo_retrieve·½·¨¡£
¶øÔÚPHPÖУ¬½øÐеÄÈ´ÊÇserializeºÍunserialize²Ù×÷¡£Ôì³ÉÁËÎÞ·¨Õý³£¶ÁÈ¡µÄ½á¹û¡£
Perl´æ´¢Ò»¸ö('a', 'c')Êý×éµÄÒýÓ ......
A½çÃ棬B½çÃæ
Aµ÷ÓÃB£¬BÖÐÓÐTabNavigator
ÎÒÏëÔÚAÖлñµÃBµÚ¶þ¸ö±êÇ©µÄ¿Ø¼þ¡£±¨¿ÕÖµÒì³£
---½â¾ö°ì·¨
ÔÚTabNavigatorÊôÐÔÖÐÌí¼ÓcreationPolicy=“all”,Òâ˼ÊÇTabNavigator´´½¨µÄʱºòËùÓÐ×ÓÊÓͼȫ²¿ÊµÀý»¯£¬·ñÔòֻʵÀý»¯Ä¬ÈÏÊÓͼ£¬ËäÈ»ÕâÑù×ö»áµ¼Ö³ÌÐòÆô¶¯ÉÔ΢ÂýһЩ¡£ ......
http://www.521000.com/bbs/dispbbs.asp?BoardID=9&ID=1236357
PHP»·¾³´î½¨
ApacheµÄ°²×°ÓëÅäÖÃ
Ò»¡¢ApacheµÄ°²×°
1.´ÓApacheµÄ¹Ù·½ÍøÕ¾ÏÂÔØ°²×°Èí¼þ£ºhttp://httpd.apache.org/download.cgi£¬Ä¿Ç°µÄ×îа汾ÊÇapache_2.2.11-win32-x86-no_ssl.msi¡£
2.´ò¿ªÎҵĵçÄÔ£¬½øÈëDÅÌ£¬ÔÚÆäÏÂн¨Ò»¸öÎļþ¼Ð£¬ÃûΪ loca ......
½ñÌìÅöµ½¸öÆæ¹ÖµÄÎÊÌ⣬һ¸öajaxÒ³ÃæÔÚ±¾µØ²âÊÔ·þÎñÆ÷ÔËÐÐÒ»ÇÐÕý³££¬´«µ½¹«Íø·þÎñÆ÷ÉϾÍËÀ»î˵ javascript´íÎó¡£
´ò¿ª´úÂëÒ»¿´£¬ÊÇjavascriptµÄÄÇÒ»ÐÐʹÓÃÁËÒ»¸öjsonµÄreponseText£¬DEBUGһϣ¬ÔÀ´»Ø´«Êǿյġ£
¿´¿´ºǫ́PHP£¬Ã²ËÆûʲôÎÊÌ⣨±¾À´ÒÔΪÊÇURLÎÊÌ⣩ȻºóÉÏÍøËÑһϣ¬ÔÀ´ÊÇPHPµÄjson_encodeº¯ÊýÔÚ5.2ϲÅÓÐ ......