¸¶·ÑÇóÒ»¶Îphp´úÂ룬֧³ÖÌÔ±¦½»Ò× - PHP / Framework
¸÷λ´óÏÀ
ÇóÒ»¶Îphp´úÂë
¿ÉÒÔʵÏÖÒÔϹ¦ÄÜ
Õë¶Ô²»Í¬µÄä¯ÀÀÆ÷ÏÔʾ²»Í¬µÄͼƬ
¾ÍÊÇÓÐÒ»ÕÅͼƬ£¬Ö»Ïë¸øie6Óû§¿´µ½
Èç¹ûie7¡¢chrome¡¢firefoxÓû§ä¯ÀÀÔòÏÔʾÁíÍâÒ»ÕÅͼƬ
¼Û¸ñ²»ÒªÌ«ÀëÆ×¾ÍÐУ¬Ö§³ÖÌÔ±¦½»Ò×
¸÷λ´ó¸ç°ïÏÂæ
ÓÃJS»òÕßHTML×¢Ê;ͿÉÒÔÁË°¡£¬²»ÓÃPHP°É
QQ:104979058 Ö§¸¶±¦½»Ò×.
Õâ¸ö²»Óø¶·ÑµÄ£¬²»ÊǺÜÄѵÄ
¡£¡£Ä÷־ÍÐÐÁË ÓÖ²»ÊÇʲôÏîÄ¿£¬ÔÙ˵Ҳ²»ÄÑ
ÎÒµÄÖ§¸¶±¦ ksgujie@qq.com ¹Ë½Ü
ÎÒÄÜ×ö£¬ÇëÁªÏµÎÒ QQ 107710715
Â¥Ö÷ÄãµÄQQÊǶàÉÙ°¡£¬ÓпտÉÒÔÁÄÁÄ°¡¡£
QQ 2539929
Õâ¸öÎÊÌâÃâ·ÑΪÄã½â¾ö
ºÜºÃ£¬LSÆÆ»µÊг¡
˵¼òµ¥£¬ÔõôûÈ˽â¾öѽ£¿£¿£¿£¿£¿
PHP code:
<?php
echo "<pre>";
var_dump($_SERVER['HTTP_USER_AGENT']);
?>
phpµÄ»°ÓÃuser_agent¾Í¿ÉÒÔÅжϣ¬jsµÄ»°ÉϱߵÄҲ˵ÁË¿ÉÒÔʵÏÖ£¬²»¹ýjs¿Ï¶¨Ã»ÓÐphp°²È«ÕâÊÇÒ»¶¨µÄ
Õâô¼òµ¥µÄ¶«Î÷¶¼Òª¸¶·Ñ£¬¿´À´Â¥Ö÷µÄphp °¥¡£¡£¡£
µÃµ½ä¯ÀÀÆ÷°æ±¾½øÐÐÅжÏÏÔʾ¾Í¿ÉÒÔÁË°¡¡£jsʵÏÖphpʵÏÖ¶¼¿ÉÒÔ
http://www.lrcode.com/css/div/9371973418.html
ʹÓà css ¾Í¿É¸ã¶¨ÁË¡£
ºÇºÇ~~
Â¥Ö÷ºÃ´ó·½Å¶£¬Äã×Ô¼ºÓÃ'HTTP_USER_AGENT'ÊÔһϲ»Í¬ä¯ÀÀÆ÷£¬ÔÙÓøöecho¿´¿´½á¹û£¬È»ºó×Ô¼ºÅжϾͺÃÁË£¬»¹Òª»¨ÏÖ½ð£¬ÒªÇ®µÄÅóÓÑÓеã¹ýÁË°¡
ºÇºÇ£¬ÒªÇ®µÄÒ²Õý³££¬¸¶³öÀͶ¯×Ü¿ÉÒÔÒª»Ø±¨µÄѽ¡£
Ïà¹ØÎÊ´ð£º
$a = $_FILES['userfile']['name'] ;
$test = $a;
$p = split('/',$test);
$p[count($p)-1];
$content = file_get_contents("$p");
$con ......
<?php
/*
¹¦ÄÜ£ºPHPα¾²Ì¬»¯Ò³ÃæµÄʵÏÖ
¾ßÌåÓ÷¨:
ÀýÈçÁ´½ÓΪ:test.php/year/2006/action/_add.html
mod_rewrite();
$yearn= $_GET["year"];//½á¹ûΪ'2006'
......
this->$name=$nam;
Õâ¾ä´úÂëÊÇʲôÒâ˼°¡£¿
ÆäÖÐ->ÓÖÊÇʲôÒâ˼ÄØ¡¢
лл¸ßÊÖÖ¸µã£¡
¶ÔÏó->ÊôÐÔ=±äÁ¿
²»¹ýÄãºÃÏñд´íÁË....
$this->num=$num; ÕâÑùµÄ°É
$this->num=$num; ......
¸÷λ´óÏÀ
ÇóÒ»¶Îphp´úÂë
¿ÉÒÔʵÏÖÒÔϹ¦ÄÜ
Õë¶Ô²»Í¬µÄä¯ÀÀÆ÷ÏÔʾ²»Í¬µÄͼƬ
¾ÍÊÇÓÐÒ»ÕÅͼƬ£¬Ö»Ïë¸øie6Óû§¿´µ½
Èç¹ûie7¡¢chrome¡¢firefoxÓû§ä¯ÀÀÔòÏÔʾÁíÍâÒ»ÕÅͼƬ  ......
ÏÖÔÚ»¹ÓкܶàÈ˸㲻¶®PHPºÍJAVA¿ª·¢µÄÐͬOAµ½µ×ÓÐʲô²»Í¬£¬¶Ô×Ô¼ºµ½µ×ÓÐʲôӰÏ죬ÒÔÖÁÓÚ×ö³öÁË´íÎóµÄÑ¡Ôñ¶øêݺ¦ÎÞÇî¡£±ÊÕ߸ù¾ÝÁ½ÖÖ¼¼ÊõµÄÌصãÖØÐÂÕûÀíÁËÒ»¸ö¶Ô±È£¬¸ø¹ØÐÄÐͬOA¼¼ÊõµÄ¶ÁÕß×ö¸ö²Î¿¼¡£
»ªÌ춯Á¦Ð ......