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

phpÏîÄ¿¿ò¼ÜÉè¼Æ

Ò»¡¢¸ÅÊö
ÒòΪ×î½üСÏîÄ¿±È½Ï¶à£¬¶øÇÒÏîÄ¿Ö®¼äµÄÖظ´¶ÈÓֱȽϴó£¬ËùÒÔ¸ãÁËÒ»¸öÏîÄ¿¿ò¼ÜËƵĶ«Î÷£¬±ß×ö±ßÐ޸ġ£
Ä¿Ç°ÀïÃæÒѾ­ÈÝÄÉÁ˲»ÉÙ¼¸¸öÏîÄ¿£¬Ò²¸ãÁËЩÀàËÆ»ù´¡¹¹¼þÒ»ÑùµÄ¶«Î÷£º
flykobe@105 quick $ ls -FX
 inc/      jzj/  m2/      mstatic/  t/     template/  webtools/    robots.txt*
default/  jbft_v2/  m/    modsky/  nba/      env_setting.inc*  dispatch.php*  clean.sh*
×ÓÏîÄ¿µÄ½á¹¹£º
flykobe@105 quick $ ls modsky/ -FX
control/  inc/  layout/  view/
ËùÓеÄURL¶¼¾­¹ýdispatch.phpµÄ·ÓÉ£¬¾­¹ýÒ»¶¨µÄ×Ö·û´®´¦Àí¹æÔò£¬Ö¸¶¨µ½×ÓÏîÄ¿controlÖеÄij¸öÎļþÉÏÈ¥¡£
¸ùĿ¼Ï£¬ÓÐһЩ¹«¹²µÄĿ¼£º
incÊÇÈ«ÌåÏîÄ¿¹«Óõĺ¯Êý¿â
mstaticÊÇһЩÁÙʱµÄcss¡¢jsÎļþÉú³ÉºóµÄ´æ·ÅλÖÃ
tÊDzâÊÔĿ¼
templateÊǹ«¹²Ä£¿é¿â
defaultÊÇһЩĬÈÏ·¾¶£¬ÆäÖаüÀ¨ÁËÏîÄ¿¹«¹²µÄajax½Ó¿Ú£¨µ±È»£¬Ã¿¸öÏîÄ¿Ò²¿ÉÒÔ¿ª·¢×Ô¼ºµÄajax½Ó¿Ú£©
ÁíÍ⣬env_setting.incÊÇÕû¸öÏîÄ¿µÄÅäÖÃÎļþ¡£
¶þ¡¢dispatch˵Ã÷
¿ªÊ¼µÄÏë·¨ÊÇ£¬Ò»¸ö´óÏîĿĿ¼£¬Ò»¸öÓòÃû£¬ÏÂÃæ¿¿²»Í¬µÄmoduleÃû³Æ£¬À´Çø·Ö²»Í¬µÄ×ÓÏîÄ¿£¬ËùÒÔURL¸ñʽ¾ÍÊÇ£º
test.mydomain.cn/jzj/
test.mydomain.cn/modsky/
...
£¨µ«ÊÇ£¬ºóÀ´·¢ÏÖÔËÓªµÄÐèÇó×ÜÊÇÔÚ±äµÄ£¬ËûÃÇÐèÒª²»Í¬µÄÓòÃû£¬ËùÒÔ¾ÍÔÚapacheµÄÅäÖÃÖÐ×öÁËalias£¬»¹¶¼ÊÇÖ¸Ïò¸ùĿ¼¡£µ«ÊÇÔì³ÉµÄºó¹û¾ÍÊÇ£¬²»Í¬µÄÓòÃû£¬Í¨¹ý²»Í¬µÄ¶þ¼¶Ä¿Â¼Ãû³ÆµÈ£¬¾Í¿ÉÒÔ·ÃÎʵ½Í¬ÑùµÄÒ³Ã棬ÕâÑù£¬²»¹ÜÊǶÔÓÚseo£¬»¹ÊÇÂß¼­ÉÏ£¬¶¼ÊǺܲ»ºÃµÄ£¡µÈÐݼٻØÀ´£¬ÒªÕûÀíÕû¸ö£¡£©
dispatchÖУ¬¶Ôÿ¸ö¶þ¼¶Ä¿Â¼£¬¶¼×öÁËuriºÍmoduleÖ®¼äµÄÓ³É䣬ÕâÑùÿ´ÎÌí¼ÓÒ»¸öÐÂÏîÄ¿£¬¶¼ÐèÒªÌí¼Ó»òÕßÐÞ¸ÄÕâ¸öÓ³É䣬ËäÈ»Ôö¼ÓÁ˹¤×÷Á¿£¬µ«ÊÇÒ²¿ØÖÆÁËÎÞЧ·ÃÎÊ£¬ÒÔ¼°¿ÉÒԺܷ½±ãµÄ×öuriµÄÖØÐÂÖ¸Ïò¡£±ÈÈ磬ÎÒ×öÁËÒ»¸ö×ÓÏîÄ¿m£¬Ö®ºóÐèÒª´ó¸Ä°æ£¬ÄÇô¾Í¿ÉÒÔн¨×ÓÏîÄ¿m2£¬È»ºó¸Ä°æÍê³ÉÖ®ºó£¬°Ñ·ÃÎÊmµÄuriÖ¸Ïòµ½m2¡£
Èý¡¢template¹«ÓÃÄ£¿é
ʹÓÃÁËÃæÏò¶ÔÏóµÄÉè¼Æ·½·¨¡£Ö÷ҪĿµÄÊÇ£¬ÓÉÓÚÍøÕ¾¿ª·¢ÖУ¬´æÔÚ´óÁ¿µÄÖظ´¹¤×÷£¬³ýÁËphp´úÂ룬»¹ÓÐhtml¡¢css¡¢jsµÈ£¬ËùÒÔ£¬Òª°ÑÕâЩȫ½áºÏÆðÀ´£¬Éú³ÉÒ»¸öÒ»¸öµÄСģ¿é£¬Ê¹ÓõÄʱºò£¬Ò»ÐдúÂë¾Í¸ã¶¨¡£
»ùÀàTpBase£¬½«¹¹Ôì·½·¨¶¨ÒåΪprotectedµÄ£¬Ê¹ÓÃÁËRegisterÀ࣬implements Á˽ӿÚTpInterface£¬¸Ã½Ó¿


Ïà¹ØÎĵµ£º

´ÓphpÏòJavaScript±äÁ¿´«Öµ

<?php
$conn = "what's the fucking";
?>
<mce:script type="text/javascript"><!--
var innn = "<?php echo $conn ?>";
document.write(innn);
// --></mce:script>

phpºÍJavaScriptµÄ±äÁ¿²»ÄÜͨÓ㬵«µ±ÎÒÃÇÐèÒªÔÚÒ»¸öÒ³ÃæʹÓÃͬһ¸ö±äÁ¿Ê±£¬¿ÉÒÔ ......

PHPÖÐstr_replaceº¯ÊýµÄÏê½â

     ÔÚʵ¼ÊµÄ³ÌÐò¿ª·¢ÖУ¬Ö´ÐÐ×Ö·û´®Ìæ»»²Ù×÷ÊÇÒ»¼þ·Ç³£¾­³£µÄÊ£¬¶Ôstr_replaceº¯ÊýµÄʵÓÃÒ²»á·Ç³£Æµ·±¡£
      Õâ¶Îʱ¼äÔÚ¿´¡¶PHPºÍMySQL Web¿ª·¢¡·Ò»Êé¿´µ½str_replace½²½â£¬Ò»¶ÎСÌáʾдµ½£º¿ÉÒÔΪstr_replaceµÄÈý¸ö¶¼Ê¹ÓÃÊý×é´«È룬µ«½²½â±È½Ï¼òµ¥£¬ÓÚÊǾö¶¨×Ô¼º ......

jsp,ASP,PHPµÄ±È½Ï

      ºÜ¶àSOHOER¶¼Ï£ÍûÓиö×Ô¼ºµÄÍøÕ¾,¶ø¶ÔÍøÕ¾½¨ÉèÒ»ÎÞËùÖª,»òÕßÒ»Öª°ë½â.½ñÌìÎÒÏȽ²³ÌÐò·½ÃæµÄÇø±ð,ÏàÐźܶàÈËÅöµ½ÁËÓÐЩ¹«Ë¾Ëµphp±ÈAsp,Asp.Net¶¼ÒªºÃ,»òÕßAsp±ÈÆäËûÓïÑÔ¶¼ÒªºÃ¡£Æäʵ,³ÌÐòµÄÓÅÂÔÓëÍøÕ¾¿ª·¢ÈËÔ±µÄ¾­Ñé\¼¼ÊõˮƽÏà¹Ø£¬¶øÓïÑÔ±¾Éí²¢Ã»ÓÐʲôÓÅÂÔÖ®·Ö.¾­Ñé¶àµÄ³ÌÐòÔ±,²»¹ÜʹÓõÄÄ ......

php strip_tagsº¯Êý

strip_tags
È¥µô HTML ¼° PHP µÄ±ê¼Ç¡£
Óï·¨: string strip_tags(string str);
·µ»ØÖµ: ×Ö·û´®
±¾º¯Êý¿ÉÈ¥µô×Ö·û´®Öаüº¬µÄÈκΠHTML ¼° PHP µÄ±ê¼Ç×Ö·û´®¡£ÈôÊÇ×Ö·û´®µÄ HTML ¼° PHP ±êÇ©Ô­À´¾ÍÓÐ´í£¬ÀýÈçÉÙÁË´óÓڵķûºÅ£¬ÔòÒ²»á·µ»Ø´íÎ󡣶ø±¾º¯ÊýºÍ fgetss() ÓÐ×ÅÏàͬµÄ¹¦ÄÜ
//×¢
strip Ó¢[strip]
vi. 1. Íѹâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ