mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Added info about imagegetsize() supporting URLs since 4.0.5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40071 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
654d0de41f
commit
49ba472951
1 changed files with 14 additions and 1 deletions
|
@ -64,13 +64,21 @@
|
|||
"height=xxx width=xxx" string that can be used directly in an IMG
|
||||
tag.
|
||||
<example>
|
||||
<title>GetImageSize</title>
|
||||
<title>GetImageSize (file)</title>
|
||||
<programlisting role="php">
|
||||
<?php $size = GetImageSize ("img/flag.jpg"); ?>
|
||||
<IMG SRC="img/flag.jpg" <?php echo $size[3]; ?>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>GetImageSize (URL)</title>
|
||||
<programlisting role="php">
|
||||
<?php $size = GetImageSize ("http://www.php.net/gifs/logo.gif"); ?>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
The optional <parameter>imageinfo</parameter> parameter allows
|
||||
you to extract some extended information from the image
|
||||
|
@ -99,6 +107,11 @@
|
|||
This function does not require the GD image library.
|
||||
</simpara>
|
||||
</note>
|
||||
<note>
|
||||
<simpara>
|
||||
URL support was added in PHP 4.0.5
|
||||
</simpara>
|
||||
</note>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue