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

PHPÊý¾Ý¿âÁ´½Ó´úÂë

 <?php
$mydbhost ="localhost"; //ÅäÖÃÖ÷»ú
$mydbuser ="root"; //Êý¾Ý¿âÓû§
$mydbpw ="8312836"; //Êý¾Ý¿âÃÜÂë
$mydbname ="jingyun"; //Êý¾Ý¿âÃû
//$mydbcharset ="GBK";
$conn=mysql_connect($mydbhost,$mydbuser,$mydbpw) or die ("·þÎñÆ÷Á¬½Ó´íÎó".mysql_error());
mysql_select_db($mydbname,$conn);
mysql_query("SET NAMES 'utf8'");
date_default_timezone_set ('PRC');
$addtime=date("y-m-d H:i:s");
//¶¨Òå³£Á¿
define('ALL_PS',"nkfwe24tot");//¶þ´Î¼ÓÃÜ£¬ÃÜÂë×Ö·û
//echo md5("admin".ALL_PS);
//ÐÅÏ¢Ìáʾº¯Êý
function showmsg($text,$urlstr="")
{
if($urlstr){
echo '<Script>alert("'.$text.'");window.location.href="'.$urlstr.'";</Script>';
exit;
}
else {
echo "<Script>alert('".$text."');history.go(-1);</Script>";
exit;
}

}
?>


Ïà¹ØÎĵµ£º

PHPÉú³ÉËæ»ú×Ö·û´®µÄ·½·¨

Code:
<?php
function genRandomString($len)
{
$chars = array(
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", 
"l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", 
"w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", 
"H", "I", "J", "K", "L", "M", "N", "O", ......

˼¿¼ PHP+MYSQLµÄOAΪºÎûÓÐJavaµÄֵǮ?


ÏÖÔÚÊг¡ÉϵÄoa»ù±¾ÉϿɹé½áΪÁ½´óÕóÓª£¬¼´phpÕóÓªºÍjavaÕóÓª¡£µ«¶Ô½Ó´¥oa²»¾ÃµÄÓû§À´Ëµ£¬¿´µ½µÄÍùÍùÖ»ÊÇËüÃǵıíÏֻ࣬ÊÇÃ÷ÏԵļ۸ñ²îÒ죬ȴºÜÄÑ¿´³öËüÃÇÖ®¼äµÄʵ¼Ê²îÒì¡£Æäʵ£¬ PHP + MYSQL ²»ÖµÇ®²»½ö½ö¾ÖÏÞÓÚoaÈí¼þ£¬¶øÊÇÕûÌåÉÏPHP + MYSQL¿ª·¢µÄÈí¼þ¶¼²»Èçjava¿ª·¢µÄÈí¼þֵǮ¡£ÎªÊ²Ã´PHP + MYSQL µÄOAΪʲô²»ÖµÇ®Ä ......

PHP½øÐÐRSS¶©ÔÄ

ÏÖÔÚÓкܶàµÄrss¶©ÔÄ£¬ÎÒÃÇÖ±½Ó¿ÉÒÔ¶©Ôĵ½ÓÊÏä¡£¼ÈȻѧÁËPHP£¬ÄÇôÓÐûÓÐÒ»ÖÖ·½·¨¿ÉÒÔÖ±½Ó½«rssµÄÐÂÎÅÐÅÏ¢ÏÔʾÔÚ×Ô¼ºµÄÍøÒ³ÉÏÄØ£¿Óеģ¬±ØÐëµÄ£¬ÏÂÃæ¾ÍÊÇÕâ¸örss½Å±¾£º
<?php
//RSSÔ´µØÖ·ÁбíÊý×é
$rssfeed = array("http://blog.csdn.net/heavenopener/category/668064.aspx/rss");
for($i=0;$i<sizeof($rssfee ......

PHP ʵÏÖ²éѯ½á¹û¶¯Ì¬×éºÏÊä³ö

      Êý¾Ý¿âÖвéѯµ½ÒÔϵĽá¹û£º
     cname      linename    minute
     aa              c1      & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ