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:
foobar 2001-01-24 00:07:58 +00:00
parent 654d0de41f
commit 49ba472951

View file

@ -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">
&lt;?php $size = GetImageSize ("img/flag.jpg"); ?>
&lt;IMG SRC="img/flag.jpg" &lt;?php echo $size[3]; ?>
</programlisting>
</example>
</para>
<para>
<example>
<title>GetImageSize (URL)</title>
<programlisting role="php">
&lt;?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>