说明:
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>';
 
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>';
 
| 对此文章发表了评论 |
