Windows cannot access the specified device path or file. The number of clicks to download the file is backfilled.

WBOY
Release: 2016-07-29 08:34:45
Original
1710 people have browsed it

A mysql database table named book is required. The table contains the following fields:
id Unique identifier of the downloaded file
downnum Number of clicks
first.php
{
?>



< ;/TD>

click here download



ddload.php
     include("data. inc.php");
if($incerror)
{
echo $incerror;
exit; }
if(empty($dnnum)) $dnnum = 1; else $dnnum ++;
$sql = " update book set downnum ='$dnnum' where id =$id";
mysql_query($sql); mysql_close($connect); header("location:$purl");
?>

The above introduces the backfill of the number of clicks to download files when Windows cannot access the specified device path or file, including the content of Windows cannot access the specified device path or file. I hope it will be helpful to friends who are interested in PHP tutorials.


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!