linuxÏ php img ͼƬÎÞ·¨ÏÔʾ
½«php·þÎñÆ÷¼Üµ½linuxÏÂʱûÓÐ×¢Òâ¸ÃÎÊÌ⣬
Ç°¼¸Ììµ¹ÊÇÅöµ½ÁËÔÚlinuxÏÂÑéÖ¤ÂëµÄͼƬÎÞ·¨ÏÔʾµÄÇé¿ö£¬·¢ÏÖlinuxÏÂÒ²ÒªÓÐgd¿âµÄÖ§³Ö£¬ÓÚÊÇ°²×°ÁËphp5-gd£¨±¾ÈËʹÓõÄÊÇphp5£©
£¬Õâ¸öÎÊÌâ½â¾öÁË
½ñÌìͻȻ·¢ÏÖimgͼƬÎÞ·¨ÏÔʾ£¬ÉÏÍøËÑÁËÒ»°Ñ£¬ÓÖ¾¹ý²âÊԵóöÈçϽáÂÛ
<img src="pc.jpg"......>
Ëû»áÒÔµ±Ç°Â·¾¶ÎªËÑË÷·¾¶£¬À´ËÑË÷pc.jpgͼƬ£¬¼ÙÈôÄãÓþø¶Ô·¾¶£¬ÔÚÕâ»á½øÈëÏÝÚå
¼ÙÈôµ±Ç°Â·¾¶ÊÇ/var/www/test £¨¸Ã·¾¶ÏÂÓÐÄãµÄpicture.php£©
¶øÔÚpicture.phpÖÐÊÇ£º
<img src="/home/wch/pc.jpg"....>
¿Ï¶¨³ö´í£¬Ëý»áÔÚ/var/www/test ·¾¶ÏÂËÑË÷/home/wch
×îÖÜËÑË÷pc.jpgµÄ·¾¶ÊÇ
/var/www/test/home/wch£¬Õâ¸ö·¾¶Ñ¹¸ù¾Í²»´æÔÚ
˵µÄÓеãÂÒ¡£Êµ¼Ê²Ù×÷Ò»°ÑÄã¾ÍÖªµÀÁË£¬ÖÁÓÚÏñʹÓþø¶Ô·¾¶£¬»¹ÓдýÑо¿
Ïà¹ØÎĵµ£º
JavaScript ==> PHP£º
·½·¨Ò»: ÏÈÓÃPHPÉú³Éjs´úÂ룬Ȼºóͨ¹ýä¯ÀÀÆ÷µÄ×Ô¶¯Ë¢Ð£¬½«javascript±äÁ¿´«µÝµ½PHP½Å±¾ÖС£
×¢Ò⣺ÔÚʵ¼ÊÓ¦ÓÃÖÐÒª·ÀÖ¹Óû§ÔÚµØÖ·À¸ÄÚ¸ü¸Ä´«µÝµÄ±äÁ¿Öµ¡£
<?php
if($qq) echo $qq.'<br>';
else echo "<scrip ......
תÔØ×Ô:http://blog.csdn.net/iamtrooper/archive/2009/11/06/4779041.aspx
°æ±¾£ºFC11£¬VMware Workstation 7.0.0 build-203739
Ó²¼þ£ºCPU T6570£¬ÄÚ´æ 2G
Ò»¡¢°²×°
Ïȵ½¹Ù·½ÍøÕ¾ http://downloads.vmware.com/d/details/workstation_7_0_for_linux/ZGolYmQlJUBiZGVkZQ== ÏÂÔØ VMware Workstation for 32-bit Li ......
ssh -L 7070:localhost:* remotehost
ÉÏ ÃæµÄÃüÁîÐÐÖУ¬-LÖ¸¶¨±¾µØ¶Ë¿ÚÓëÔ¶³ÌÖ÷»ú¶Ë¿ÚÖ®¼äµÄËíµÀ£¬
7070ÊDZ¾µØ¶Ë¿Ú£¬¿ÉÒÔÈÎÒâÉèÖã¬Ö»Òª²»ºÍÆäËûÒѾʹÓõÄÍøÂç·þÎñ³åÍ»¾Í¿ÉÒÔ¡£localhostÊDZ¾µØÖ÷»ú£¬Ò²¾ÍÊÇÄãµÄµçÄÔ£¬²»Óøü¸Ä£¬*ºÅ¿ÉÒÔ×Ô¶¯
Ñ°ÕÒÔ¶³ÌÖ÷»ú¿ÉÓõĶ˿ڡ£remotehost¾ÍÊÇËùÒªµÇ¼µÄÔ¶³ÌSSHÖ÷»úÃû³Æ¡ ......
1. Òý ÑÔ
Linux ×î³õÊÇÓÉÈðµäºÕ¶ûÐÁ»ù´óѧµÄѧÉú Linus TorvaldsÔÚ1991 Ä꿪·¢³öÀ´µÄ£¬Ö®ºóÔÚ
GNUµÄÖ§³ÖÏ£¬Linux »ñµÃÁ˾޴óµÄ·¢Õ¹¡£ËäÈ» Linux ÔÚ×ÀÃæ PC »úÉϵÄÆÕ¼°³Ì¶ÈÔ¶²»¼°Î¢
ÈíµÄ Windows ²Ù×÷ϵͳ£¬µ«ËüµÄ·¢Õ¹ËÙ¶ÈÖ®¿ì¡¢Óû§ÊýÁ¿µÄÈÕÒæÔö¶à£¬Ò²ÊÇ΢ÈíËù²»ÄÜÇá
Êӵġ£¶ø½üЩÄêÀ´ Linux ÔÚǶÈëʽÁìÓòµÄѸÃÍ ......