in the Linux server,/directory to establish the upload directory, uploaded files should not be called, only support the site root directory, does not support the server root directory.
call a file, can also, with the include "/xxx.php", it can be called, no garbled.
include "/xxx.gif"; a bunch of garbled characters.
xml/html code?
1 2 3 4 5 6 7 |
< Video controls = "Controls" width = " 100% " preload = " preload " ; < Source src = "HTTP://BIG.09-29.COM/WHEREISBABA.WEBM" ; < source src = ". mp4" Type = "Video/mp4" ; < BR > not play! < br ; Your browser is out and HTML5 video is not supported. < br ; Internet Explorer does not support HTML5 video. !-- video ; |
The above code with a two-level domain name is normal, depending on the file to the root directory is not normal.
xml/html code?
1 2 3 4 5 6 7 |
< Video Controls = Controls width = "100%" preload = "preload" ; < source src = "/WHEREISBABA.WEBM" < source src = ". mp4" type = "Video/mp4" ; < br > Can't play! < br ; Your browser is out and HTML5 video is not supported. < br ; Internet Explorer does not support HTML5 video. !-- video ; |
Finally, to a WEBM video and MP3, pure two-level domain name + media files, not related to HTML5.
Biochemical Crisis HTTP://BIG.09-29.COM/RESIDENT_EVIL_1.WEBM
Wang Feng-Goodbye youth Http://big.09-29.com/zaijian_qingchun.mp3
A big problem comes, 1G video files uploaded to the server, you can not put the current domain name it?! I am the current domain name directory with the video file storage directory separation, daily download backup master domain files, video files directory is generally not moving.
The above is introduced I always put the HTML video audio in the two-level domain name, and now put in the directory to find a lot of new problems did not solve? , including the aspects of the content, want to be interested in PHP tutorial friends helpful.