sniper Tue Jan 23 16:07:58 2001 EDT
Modified files:
/phpdoc/en/functions image.xml
Log:
Added info about imagegetsize() supporting URLs since 4.0.5
Index: phpdoc/en/functions/image.xml
diff -u phpdoc/en/functions/image.xml:1.32 phpdoc/en/functions/image.xml:1.33
--- phpdoc/en/functions/image.xml:1.32 Sun Jan 7 17:39:29 2001
+++ phpdoc/en/functions/image.xml Tue Jan 23 16:07:58 2001
@@ -64,7 +64,7 @@
"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]; ?>
@@ -72,6 +72,14 @@
</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
file. Currently this will return the diffrent
@@ -97,6 +105,11 @@
<note>
<simpara>
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>