From 49ba472951cc780f1a7f76ee633a7bf40f845ebc Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 24 Jan 2001 00:07:58 +0000 Subject: [PATCH] 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 --- functions/image.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/functions/image.xml b/functions/image.xml index d4c0e2e3ba..30b6385c1e 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -64,13 +64,21 @@ "height=xxx width=xxx" string that can be used directly in an IMG tag. - GetImageSize + GetImageSize (file) <?php $size = GetImageSize ("img/flag.jpg"); ?> <IMG SRC="img/flag.jpg" <?php echo $size[3]; ?> + + + GetImageSize (URL) + +<?php $size = GetImageSize ("http://www.php.net/gifs/logo.gif"); ?> + + + The optional imageinfo parameter allows you to extract some extended information from the image @@ -99,6 +107,11 @@ This function does not require the GD image library. + + + URL support was added in PHP 4.0.5 + +