php·Ö¸îº¯ÊýµÄʹÓÃ
<?php
$HotSong="°®ÇéתÒÆ|¾Õ»¨Ì¨|Àë¸è|ÔÂÁÁÖ®ÉÏ|ÒþÐεijá°ò|Öйú»°|Çó·ð|ÇïÌì²»»ØÀ´|·¢ÏÖ°®|ÄѵÀ°®Ò»¸öÈËÓдíÂð|ǧÀïÖ®Íâ|Á¬¿Þ¶¼ÊÇÎҵĴí";
function HotSo($HotSong){
$HotSo='';
echo($HotSong);
$b=explode('|',$HotSong);
foreach ($b as $v) {
$HotSo.="<a href="song.php?song=".urlencode($v)."" mce_href="song.php?song=".urlencode($v)."">" .$v. "</a> ";
}
return $HotSo;
}
echo HotSo($HotSong);
?>
Ïà¹ØÎĵµ£º
<?php
class Access//AccessÊý¾Ý¿â²Ù×÷Àà
{
var $databasepath,$constr,$dbusername,$dbpassword,$link;//ÀàµÄÊôÐÔ
function Access($databasepath,$dbusername,$dbpassword)//¹¹Ô캯Êý
{
$this->databasepath=$databasepath;
$this->username=$d ......
9.3 ͨ¹ýPHP²Ù×÷AccessÊý¾Ý¿â
9.3.1 Á¬½ÓAccessÊý¾Ý¿â
ÔÚPHPÖÐÁ¬½ÓAccessÓÐÈçÏÂ3ÖÖ·½Ê½¡£
£¨1£©´´½¨ÏµÍ³Êý¾ÝÔ´£¬ÓÃPHPÌṩµÄODBCº¯Êý
¼´¿É¡£
£¨2£©Í¬Ñù¿ÉÒÔʹÓÃPHPµÄODBCº¯Êý£¬µ«²»´´½¨
Êý¾ÝÔ´¡£¿ª·ÅÊý¾Ý¿âÁ¬½Ó£¨Open DateBase
Conection£¬ODBC£©ÊÇWindows Open
Server£¨¿ª·Å·þÎñ£©API£¨WOSA£©²úÆ·Ö®Ò ......
/**
* »ñµÃµ±Ç°Ê±¼äµÄºÁÃëÊý£¬Óû§¼ì²âÒ³ÃæµÄÖ´ÐÐʱ¼ä
*
* @author cjz
* @date Thu Apr 09 15:05:55 CST 2009
*
* @return float(ºÁÃëÊý)
*/
function myGetMicrotime()
{
list($usec,$sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
......
<?php
header("content-type:text/html; charset=UTF-8");
/*
* record kid words and insert into database
* user by sending email to publication kid words
*
*/
include 'POP3.php';
include 'email_class.php';
include 'Mail_mimeDecode.php';
//include 'include/compatible ......