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

¹ØÓÚphp ÁÐ±í¼°ÄÚÈݵIJɼ¯ - PHP / »ù´¡±à³Ì

ÀýÈç:ÎÒÒª²ÉÕâÀïÃæµÄ×ÊѶÁÐ±í£¬http://news.etannet.com/stock/newlist.php?id=4£¨ÄÚÈÝÒ³ÃæµÄÍøÖ·¼°ÄÚÈݱêÌ⣩ÕýÔò¹æÔòÔõôд£¬ÎÒдµÄÈ¡²»µ½Êý¾Ý£¬Çë¸ßÊÖ°ïæ
$source=file_get_contents('http://news.etannet.com/stock/newlist.php?id=4');
preg_match_all('<DIV class=l>\[<B>(.*) </B>\] <A href=\"(.*)\" target=_blank>(.*)</A>',$source,$art_list);
echo $art_list[3][0];
ûÓÐÈκνá¹ûÊäÈëµÄ£¿
ÕýÔò ÓÐÎÊÌâ
¸ñʽ²»¶Ô°É



End_rbody_63525550//-->
¸Ã»Ø¸´ÓÚ2010-02-24 09:55:11±»¹ÜÀíԱɾ³ý



¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ
¾Ù±¨
¹ÜÀí
TOP








jeremyadison
(µØÇòµÄÖ÷Ô×)

µÈ¡¡¼¶£º



#3Â¥ µÃ·Ö£º5»Ø¸´ÓÚ£º2010-02-24 14:00:08


$source = file_get_contents ( 'http://news.etannet.com/stock/newlist.php?id=4' );
preg_match_all ( '/<div class=\"list_title\"\>×ÊѶÁбí<\/div\>
  <ul\>(.)*<\/ul\>  
  <\/div\>
  
  
  <div class=side id=sideBars\>/isU', $source, $artpart );
preg_match_all('/<li\>(.)*<li\>/isU',$artpart[0][0],$art_list);
print_r($art_list);
exit;

ÕâÑù¿´±È½ÏºÃ
PHP code:

$source = file_get_contents ( 'http://news.etannet.com/stock/newlist.php?id=4' );
preg_m


Ïà¹ØÎÊ´ð£º

¿Õ¼äÉÏphpÎļþ²»ÄÜä¯ÀÀ£¬ä¯ÀÀ¾ÍÏÂÔØphpÎļþ

ÔÚ¹úÍâµÄ¿Õ¼ä£¬ÆäËüµÄphpÕ¾µã¶¼Õý³££¬¿ÉÖ»ÓÐ×î½ü½¨µÄÕâ¸öÕ¾µã£¬Ö»ÒªÒ»ä¯ÀÀphpÎļþ¾Í³öÏÖÏÂÔØÌáʾ£¬ÏÂÔØÏÂÀ´µÄÎļþ¶¼ÊÇ´øÓÐphpÔ´Â룬¸÷λ·¹ýµÄ£¬°ï°ïÎÒ£¬¿´¿´Ê²Ã´Ô­Òò£¬ÏÈлÁË¡£
¿ÉÄÜÊÇÒòΪ¸ÃÕ¾µãûÓÐÄãÏëÒªµÄä¯ÀÀÆ ......

Çó´ïÈ˽«Ò»¶ÎPHPת»¯ÎªASP£¬Ð»Ð»£¡ - Web ¿ª·¢ / ASP

´úÂëÈçÏ£º
function uc_get_user($username, $isuid=0) {
$return = call_user_func(UC_API_FUNC, 'user', 'get_user', array('username'=>$username, 'isuid'=>$isuid));
return UC_CONNECT == 'mysql' ......

phpÎļþÄÜ·ñ±»±ðÈ˵ÁÈ¡?? - PHP / »ù´¡±à³Ì

ÎÒ¸ÕѧϰphpÇëÎÊ£¬Èç¹ûÎÒ°ÑphpÎļþÉÏ´«ÖÁ·þÎñÆ÷ºó£¬ÀýÈçhttp://www.****.com/cast.phpÕâ¸öÎļþ»á²»»á±»±ðÈËÏÂÔØ»ò¸´ÖÆ°¢£¿
¿ÉÒÔ±»ÏÂÔØ£¬Ò²¿ÉÒÔ²»±»ÏÂÔØ£¬¿´web·þÎñÆ÷¶Ô¸ÃÎļþȨÏÞµÄÅäÖÃ

¿´Äã¶ÔÎļþȨÏÞµÄÉèÖÃ
......

Î人ÄÄÀïPHPÅàѵ±È½ÏÕý¹æ - PHP / »ù´¡±à³Ì

¹ýÍêÄêҪȥÎ人ÁË£¬ÏëÁ˽âÒ»ÏÂPHPÅàѵ±È½ÏÕý¹æ?

Ŷ ¶ÔÁË£¬»¹ÓУ¡PHPÊÖ²á±ØÐëµÃŪһ¸ö

àÅ ÌìÌìÔÚ¿´Ê¥¾­£¨Ò»ÌìÒ²¾ÍÖ»ÄÜ¿´¸ö¶þʮҳ£©£¬PHP100ÊÓƵ½Ì³Ì¿´ÁË33½²ÁË£¨Ò»ÌìÒ²Ö»¿´Ò»½²£©
ÎÒ»á¼á³Ö°ÑÕâ±¾ÊéºÍÊÓƵ¸ã¶¨ ......

ÇëÎÊphp²ÉÓÃʲô¼ÓÃÜ·½Ê½²»±»Æƽ⣿ - PHP / »ù´¡±à³Ì

zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆƽâµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆƽâһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒÄ¿Ç°µÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â

ÒýÓÃ
ÎÞ½â
²»¿ÉÄÜ°É¡£ÔÚÍøÉϲéÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ