Home >Backend Development >PHP Tutorial >I have always put the html video and audio in the second-level domain name, but now I put it in the directory and found that many new problems have not been solved?

I have always put the html video and audio in the second-level domain name, but now I put it in the directory and found that many new problems have not been solved?

WBOY
WBOYOriginal
2016-07-29 09:03:541004browse
<span>In the Linux server, the upload directory is created in the / directory, but the uploaded file cannot be called. <img src> only supports the website root directory, not the server root directory. </span><br><span> </span><br><span>It’s okay to call a file. Use include “/XXX.php”; it can be called without garbled characters. </span><br><span>include “/XXX.gif”; a bunch of garbled characters. </span><br><p></p> <p></p> <p><span>XML/HTML code</span><span title="复制"></span><span>?</span></p> <table border="0" cellpadding="0" cellspacing="0"><tbody><tr> <td> <p>1</p> <p>2</p> <p>3</p> <p>4</p> <p>5</p> <p> 6</p> <p>7</p> </td> <td> <p></p> <p><code><</code> <code>video</code> <code>controls</code><code>=</code><code>"controls"</code> <code>width</code><code>=</code><code>"100%"</code> <code>preload</code><code>=</code><code>"preload"</code><code>></code> </p> <p><code> </code><code><</code><code> source</code> <code>src</code><code>=</code><code>"http://big.09-29.com/whereisbaba.webm"</code><code>></code></p> <p><code> </code><code><</code><code>source</code> <code>src</code><code>= </code><code>" .mp4"</code> <code>type</code><code>=</code><code>"video/mp4"</code><code>></code></p> <p><code> </code><code><</code><code>br</code><code>>Cannot be played! <</code><code>br</code><code>></code></p> <p><code> </code><code>Your browser is out and does not support HTML5 videos. <</code><code>br</code><code>></code></p> <p><code> </code><code> IE browsers do not support HTML5 videos. </code></p> <p><code></</code><code>video</code><code>> </code></p></p></td></tr></tbody>XML/HTML code</table></p></p><br>?<span></span><br><p><p><p><span>1</span><span title="复制">2</span><span>3</span></p>4<table border="0" cellpadding="0" cellspacing="0"><tbody>5<tr><td> 6<p></p>7<p></p><p></p><p></p><<p> </p>video<p> </p>controls<p></p>=</td><td>"controls"<p> <p>width<code></code>=<code></code>"100%"<code> </code>preload<code></code>=<code></code>"preload"<code></code>><code> </code><code></code> <code></code><<code></code> source<code> </code>src<code></code>=</p><p>"/whereisbaba.webm"<code></code>><code></code><code></code> <code></code><<code></code>source<code> </code>src<code></code>=</p><p>" .mp4 "<code></code>type<code></code>=<code></code> "video/mp4"<code></code>><code></code><code></code> <code></code><<code></code>br<code></code>>Cannot be played! <<code></code>br</p><p>><code></code><code></code> <code></code>Your browser is out and does not support HTML5 videos. <<code></code>br<code></code>><code></code></code></p> <p> <code></code> IE browsers do not support HTML5 videos. <code></code><code></code></<code></code>video</p><p>><code></code><code></code></p> <p><code></code><code></code><code>Finally, a webm video and mp3 respectively, pure second-level domain name + media files, nothing to do with html5. </code></p>Resident Evil http://big.09-29.com/resident_evil_1.webm</td> </tr></tbody></table>Wang Feng-Goodbye Youth http://big.09-29.com/zaijian_qingchun.mp3<br><span></span><br><span> </span><br><p><span>A big problem comes. Upload a 1G video file to the server. You can’t put it in the current domain name, right? ! My current domain name directory is separated from the video file storage directory. I download the backup main domain name file every day, and the video file directory generally does not move. </span></p> <p> <span> The above introduces that I have always put html video and audio in the second-level domain name, but now I put it in the directory and found that many new problems have not been solved? , including relevant content, I hope it will be helpful to friends who are interested in PHP tutorials. <span> </span> </span></p>
Statement:
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