Re: [PHP] getimagesize() issues starting with PHP 4.3..

2003-02-26 Thread Jason DiCioccio


--On Wednesday, February 26, 2003 16:35 +1000 Tom Rogers 
[EMAIL PROTECTED] wrote:

Hi,

Wednesday, February 26, 2003, 2:27:10 PM, you wrote:
JD Can anyone reproduce this problem?
[...]
JD ?
JD
$retval=getimagesize('http://armanii.c.crosslink.net/arcticsilver/dtmsig4
.j JD pg');
JD echo $retval[0] $retval[1] $retval[3] \n\n\n;
?
[...]
Try
$retval=getimagesize(http://armanii.c.crosslink.net/arcticsilver/dtmsig4
.jpg,$info);
..seems to wake it up :) ..possible bug??

--
regards,
Tom
Thanks!  It would appear so, as it's documented as being an optional 
argument..  It works for me that way too, though.

Cheers,
-JD-
--
Jason DiCioccio - [EMAIL PROTECTED]  - Useless .sig
Open Domain Service - [EMAIL PROTECTED]- http://www.ods.org/
Ruby- [EMAIL PROTECTED]   - http://www.ruby-lang.org/
PGP Fingerprint - C442 04E2 26B0 3809 8357  96AB D350 9596 0436 7C08

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] getimagesize() issues starting with PHP 4.3..

2003-02-25 Thread Jason DiCioccio
Can anyone reproduce this problem?

I am involved in running a large forum, and ever since our upgrade to PHP 
4.3.1, there have been fairly random issues with getimagesize().  It 
happens only on certain images it seems.  However, it wasn't happening with 
4.2.  When using the following code:

?
$retval=getimagesize('http://armanii.c.crosslink.net/arcticsilver/dtmsig4.j
pg');
echo $retval[0] $retval[1] $retval[3] \n\n\n;
?
I get echo'd back.  It does go an fetch the image according to a tcpdump, 
but something fails after that.  That is an example of one of the images 
that is failing.

I am running PHP 4.3.1 w/ Apache 1.3.27 on FreeBSD 4.7.  Is there something 
I'm missing?  Is this a bug as I think it is?

Thanks in advance!

-JD-

--
Jason DiCioccio - [EMAIL PROTECTED]  - Useless .sig
Open Domain Service - [EMAIL PROTECTED]- http://www.ods.org/
Ruby- [EMAIL PROTECTED]   - http://www.ruby-lang.org/
PGP Fingerprint - C442 04E2 26B0 3809 8357  96AB D350 9596 0436 7C08

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: getimagesize() issues starting with PHP 4.3..

2003-02-25 Thread Jason DiCioccio
Oops.. Big typo.. It should read that I get *nothing* echo'd back, except 
newlines :).

Thanks again,
-JD-
--On Tuesday, February 25, 2003 23:27 -0500 Jason DiCioccio 
[EMAIL PROTECTED] wrote:

Can anyone reproduce this problem?

I am involved in running a large forum, and ever since our upgrade to PHP
4.3.1, there have been fairly random issues with getimagesize().  It
happens only on certain images it seems.  However, it wasn't happening
with 4.2.  When using the following code:
?
$retval=getimagesize('http://armanii.c.crosslink.net/arcticsilver/dtmsig4
.j pg');
echo $retval[0] $retval[1] $retval[3] \n\n\n;
?
I get echo'd back.  It does go an fetch the image according to a tcpdump,
but something fails after that.  That is an example of one of the images
that is failing.
I am running PHP 4.3.1 w/ Apache 1.3.27 on FreeBSD 4.7.  Is there
something I'm missing?  Is this a bug as I think it is?
Thanks in advance!

-JD-

--
Jason DiCioccio - [EMAIL PROTECTED]  - Useless .sig
Open Domain Service - [EMAIL PROTECTED]- http://www.ods.org/
Ruby- [EMAIL PROTECTED]   - http://www.ruby-lang.org/
PGP Fingerprint - C442 04E2 26B0 3809 8357  96AB D350 9596 0436 7C08


--
Jason DiCioccio - [EMAIL PROTECTED]  - Useless .sig
Open Domain Service - [EMAIL PROTECTED]- http://www.ods.org/
Ruby- [EMAIL PROTECTED]   - http://www.ruby-lang.org/
PGP Fingerprint - C442 04E2 26B0 3809 8357  96AB D350 9596 0436 7C08

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php