background image

 

$filename

=

str_replace

(“#1″,”",

$filename

);

$filename

=

str_replace

(“#2″,”",

$filename

);

$filename

=”soft/”.

$filename

;

echo

 

$filename

.”<br>”;

if

(!

file_exists

(

$filename

))

{

echo

 “文件不存在,转到下一个 ID”;

$id

 ;

echo

 “<META HTTP-EQUIV=’Refresh’

CONTENT=’0;URL=../test/1.php?id=

$id

’>”;

exit

;

}

//读出文件名,并检查文件是否存在

else

{
‘WinRAR a 

$filename

 使用说明.txt’;

echo

 “

插入说明文件成功 ;

$id

 ;

echo

 “<META HTTP-EQUIV=’Refresh’ CONTENT=’0;URL=../test/1.php?id=

$id

’>”;

}
odbc_close(

$db

);