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£¬Õâ¸ö·¾¶Ñ¹¸ù¾Í²»´æÔÚ
˵µÄÓеãÂÒ¡£Êµ¼Ê²Ù×÷Ò»°ÑÄã¾ÍÖªµÀÁË£¬ÖÁÓÚÏñʹÓþø¶Ô·¾¶£¬»¹ÓдýÑо¿
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
JavaScript ==> PHP£º
·½·¨Ò»: ÏÈÓÃPHPÉú³Éjs´úÂ룬Ȼºóͨ¹ýä¯ÀÀÆ÷µÄ×Ô¶¯Ë¢Ð£¬½«javascript±äÁ¿´«µÝµ½PHP½Å±¾ÖС£
×¢Ò⣺ÔÚʵ¼ÊÓ¦ÓÃÖÐÒª·ÀÖ¹Óû§ÔÚµØÖ·À¸ÄÚ¸ü¸Ä´«µÝµÄ±äÁ¿Öµ¡£
<?php
if($qq) echo $qq.'<br>';
else echo "<scrip ......
½âѹgz°ü
tar zxvf xxxx.tar.gz
²é¿´Îļþ´óС
du -sh xxx.tar
½âѹisoÎļþ
mount -o loop /soft/TIM_IDS6.0.ISO /mntrom
ɾ³ýÎļþ(Àý£ºÉ¾³ýtar°ü)
rm -fr *.tar
ѹËõtar°ü
tar cvf othername.tar filename ......
ssh -L 7070:localhost:* remotehost
ÉÏ ÃæµÄÃüÁîÐÐÖУ¬-LÖ¸¶¨±¾µØ¶Ë¿ÚÓëÔ¶³ÌÖ÷»ú¶Ë¿ÚÖ®¼äµÄËíµÀ£¬
7070ÊDZ¾µØ¶Ë¿Ú£¬¿ÉÒÔÈÎÒâÉèÖã¬Ö»Òª²»ºÍÆäËûÒѾʹÓõÄÍøÂç·þÎñ³åÍ»¾Í¿ÉÒÔ¡£localhostÊDZ¾µØÖ÷»ú£¬Ò²¾ÍÊÇÄãµÄµçÄÔ£¬²»Óøü¸Ä£¬*ºÅ¿ÉÒÔ×Ô¶¯
Ñ°ÕÒÔ¶³ÌÖ÷»ú¿ÉÓõĶ˿ڡ£remotehost¾ÍÊÇËùÒªµÇ¼µÄÔ¶³ÌSSHÖ÷»úÃû³Æ¡ ......