Copy the Code code as follows:
/********************* @file-path to File*/function Force_download ($file){if ((Isset ($file)) (File_exists ($file))) {Header ("Content-length:". FileSize ($file));Header (' Content-type:application/octet-stream ');Header (' content-disposition:attachment; Filename= '. $file. '"');ReadFile ("$file");} else {echo "No file selected";}}
Here is an excerpt from the article published before this site. More tips can be use
At present, most of the songs played in KTV are MKV format
We know that there are many video files, such as: avi,rm,rmvb,mp4,mov,vob,dat,flv,3gp,h.264 and so we are more familiar with the video file format, but through the author carefully check some digital products, such as MP5, Many of the tablets are also labeled with support for MKV
. xv file when Thunderbolt look at the video format of the player! Because of copyright protection, you can only watch it on this computer. Copy to other machine can not watch!XV file is the Thunderbolt look at the buffer file data. Request Networking Watch!
Open playback conditions as follows:
1, must use Thunderbolt to look at the player.
2, must be connected to the state. (. xv
1, NH is what type of document:
The NH format file is actually a document format for Chinese knowledge net
2, NH file with what open
NH files need to use a special NH reader to browse, and Cajviewer
What is ASP, what can it do?
One, what is ASP?In literal terms, ASP contains three meanings:
1. active:asp uses Microsoft's ActiveX technology. ActiveX (COM) technology is an important foundation for today's Microsoft software.
What is the MDF file
MDF (Mirror Disc file) is a kind of optical disk image files, usually we use BT or other peer-to-peer software to download games or large documents, especially on the internet, the spread of game files often in MDF files, in fact MDF files and MDS files to use.
Open MDF files commonly used software: Daemon Tools, alcohol 120%, Winmo
MOV, the QuickTime movie format, is an audio, video file format developed by Apple to store commonly used digital media types, such as audio and video. Storm audio can be opened.
In all video formats, perhaps the MOV format is th
If the mysql version is too high, this format is not supported? If mysql version is too high, it does not support the format of insertinto $ tb (table) set $ var (field value? Parent class: classmysql { nbsp; public $ host; host nbsp; public $ db; database nbsp; public $ u
"Chinese characters, however, the bytecode in the source file of the script may be any type-GBK or GB18030 in Windows. So what python sees is a string of GBK/GB18030 encoded bytes, and you try to tell python that it is UTF-8-encoded, it naturally reports an error.
The second problem is that you are not familiar with
1. What format is DivX
DivX is a digital multimedia compression format that compresses the audio of a movie by MP3, and the video is compressed by the MPEG-4 technology. DivX invented
MOV, the QuickTime movie format, is an audio, video file format developed by Apple to store commonly used digital media types. When QuickTime (*.mov) is selected as the save type, the animation is saved as a. mov file.
QuickTime
functionality and focuses on data serialization.AvroThe Avro format was created by Doug Cutting and was designed to help compensate for sequencefile deficiencies.ParquetParquet is a columnar file format with a rich Hadoop system support, and can work with Avro, Protocol buffers and thrift. Although Parquet is a column
Some netizens have downloaded a set of Photoshop free video tutorials on the internet, and after downloading they found that the format file named Vdat is still to be appended. And this file directly double-click is not open file. What is the
What is JSON? Data format prepared for JavaScriptNot yet understand what JSON is? After reading this article, you should be able to have a clearer idea of what JSON is.JSON is JavaScrip
Open the U disk prompts to format what is going on?
Prompt for formatting when open, because the file system is not recognized by the operating system. Do not attempt to format and then restore, formatting will only destroy the data again, so that the data recovery
What is a low-level format?
Low-level format is to divide the blank disk into the cylinder and track, and then divide the track into several sectors, each sector is divided into the identification part ID, gap gaps and data areas
First, epub is what format file
There is a lot of content on the Web, epub is a free and open standard, which is a kind of content that can be "automatically rearranged", that is, the
稍具规模的软件都会须要一个配置文件来支持软件的执行。眼下常见的配置文件格式有纯文本。XML。SQLite。自己定义二进制格式,怎样进行选择呢?1 Plain Text-file formats that will never expireThe text is one of the dogmas of the traditional Unix philosophy, which shows its great power. The software configuration files for most Unix-like systems are in plain text format.such as/etc/inittab,/etc/fstab, httpd.conf and so on.1.1 Advantages(1) Strong readabilityConfiguration files need to be understood not only by machines, but
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.