国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > PHP > 正文

人大復印資料處理程序_補充篇

2024-05-04 23:01:17
字體:
來源:轉載
供稿:網友
說明:
1、人大復印資料的處理是本人自己使用的一套程序,因為看到論壇上有關于全文檢索的討論所以就不顧編程水平的菜鳥級差,也將其公布于公。
2、人大復印全文光盤資料在各大學圖書館應該可以取得。
######config.php3
<?
$hostname = "localhost";
$dbusername = "";
$dbname='';
$dbpassword = "";

function indexfile($index_file,$index_title,$index_describe=""){
  global $added;
if($index_file==""){
    $index_file="/index/temp.html";
    }
elseif(file_exists($index_file)){
    $added=1;
    copy($index_file,$index_file.".bak");
   }
$fp_i=fopen($index_file,'w+');
fputs($fp_i, "<html><head><title>$index_title</title></head><body>rn");
  
fputs($fp_i, "<h5>$index_title</h5>rn");
//$dte_created=date('y-m-d h:i:s');
fputs($fp_i, "<font color='maroon' face='楷體' size=1>$index_describe");
//查詢日期:$dte_created</font><hr>rn");
//fputs($fp_i,"<table>rn");
  return $fp_i;
}

function mysql_error_exit($msg) {
      $errno = mysql_errno();
      $error = mysql_error();
      echo '<html><head><title>數據庫錯誤</title></head><body>';
      echo $msg;
      echo "<br>錯誤: ($errno) $error<br>";
      echo '</body></html>';
        exit();
         
  }
function xueroom_error_exit($msg,$page) {
    echo "<html><head><title>嚴重錯誤 </title></head>";
    echo "<body><table align=center cellpadding=3 cellspacing=0 width=420 >";
    echo "<th colspan=2 bgcolor=726cc5>";
    echo"<font color=white face=arial,helvetica size=2><center>";
          echo $msg."<br>";
          echo "<tr><td align=center>請致信[email protected],與管理員聯系。";
          echo"<br><tr><td align=center><a href = ".$page.">返回 </a>";
          echo '</body></html>';
      exit -1;
}
function xueroom_message($msg) {
    echo '<table>';
    echo '<tr><td>';
    echo "$msg";
    echo '</td></tr>';
    echo '</table>';
  }

?>

#################### 數據庫結構:
create table artical (
   artical_id int(6) not null auto_increment,
   resource_id varchar(10) not null,
   origin_periodical varchar(60) binary not null,
   date_pub datetime default '0000-00-00 00:00:00' not null,
   artical_author varchar(50) binary not null,
   artical_title varchar(100) binary not null,
   artical_data longblob not null,
   artical_type varchar(6),
   artical__size varchar(10),
   date_reprinted datetime default '0000-00-00 00:00:00' not null,
   read_count int(10) default '0' not null,
   catalog tinyint(4) unsigned default '0' not null,
   primary key (artical_id),
   key artical_title (artical_title),
   key artical_author (artical_author),
   key origin_periodical (origin_periodical),
   key catalog (catalog),
   key resource_id (resource_id)
);
注冊會員,創建你的web開發資料庫,
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 成安县| 齐齐哈尔市| 岗巴县| 庆云县| 虎林市| 江孜县| 南安市| 司法| 福清市| 同仁县| 博乐市| 竹北市| 伊金霍洛旗| 通山县| 台湾省| 墨玉县| 沙雅县| 云和县| 元江| 会同县| 格尔木市| 普格县| 洛扎县| 朝阳区| 海原县| 彰化市| 吉木乃县| 兴国县| 乳山市| 永修县| 日照市| 虎林市| 屯门区| 广州市| 阜南县| 本溪| 阜平县| 西平县| 荆州市| 兴国县| 磐石市|