Home > Backend Development > PHP Tutorial > Example of obtaining flash size information in php_PHP tutorial

Example of obtaining flash size information in php_PHP tutorial

WBOY
Release: 2016-07-21 14:53:17
Original
1038 people have browsed it

Example

The code is as follows

print_r(getimagesize('http://www.45it.com/templets/default/images/logo.gif'));

The output result is:

Array

 (

 [0] => 550

 [1] => 190

 [2] => 3

 [3] => width="550" height="190"

 [bits] => 8

 [mime] => image/png

 )

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/371409.htmlTechArticleThe example code is as follows print_r(getimagesize('http://www.45it.com/templets/default/images/ logo.gif')); The output result is: Array ( [0] = 550 [1] = 190 [2] = 3 [3] = width=550 height=190...
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