On Mon, 13 Dec 2004 23:17:22 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> imagesx() and imagesy()
I knew there had to be a way. Thanks so much.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsu
Greg Donald wrote:
Does anyone know a way to get the size of an an image while it exists
as an image resource? getimagesize() appears to work on image files,
but not image resources. I need something that works on image
resources like those created with the PHP imagecreatefrom* functions.
I real
So you're saying there's no way to do what I want to do.
Anybody got any other ideas?
It seems so stupid to be unable to run functions that accept files on
variables, with so many people using databases and whatnot these days.
-Galen
On Dec 7, 2003, at 1:46 AM, Justin Patrin wrote:
Galen wrot
Galen wrote:
I'm using a MySQL database to store images as BLOBs. I know how to
handle all the MySQL stuff, it's easy, and really makes keeping track of
files nice an clean. No permissions, no risk of getting things out of
sync, finding stuff is as easy as SQL.
My question is about handling st
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
Well, it is remote in the case of http-url's.
Try this code:
http://www.php.net/gifs/php_logo.gif";);
echo '';
print_r($size);
echo '';
?>
And you will see this result:
Array
(
[0] => 120
[1] => 64
[2] => 1
[3] => width="120" height="64"
[bits] => 8
[channels] => 3
getimagesize isn't remote.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Stefan Wessman" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hi!
>
> Can anyone tell me if the getimagesize() function is supposed to work with
Arnaud Gonzales wrote:
> for($i=0;$i=56;$i++){
should be
for($i=0;$i<56;$i++){
to loop 56 times.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chaillan Nicolas wrote:
> Hi,
>
> There is no way to get the filesize of a file using a remote file.
That's not true. GetImageSize works also on remote files.
>> here's my code
>> $imagesize = getimagesize(http://domain/image.jpg);
>> echo $imagesize[3];
>>
>> but it returns nothing. If I use a
Hi,
There is no way to get the filesize of a file using a remote file. You
should download it to a tmp directory then check. If it is get with an http
server, you should code something with sockets to ask to the http server the
filesize using a request.
--
Merci de nous avoir choisi. - Thanks yo
Here is the function, but there is nothing wrong with the function I don't
think.
Here is the function:
function GetURLImageSize($urlpic) {
return GetImageSize($urlpic);
}
Here is how we call it:
GetURLImageSize
("http://www.domainname.com/admin/showimg.php?s=17&type=category&image=70";
> For some reason, at random and without warning, the function just seems to
> stop working and does nothing but wait and timeout at 80 seconds. When you
> go to the page say www.somedomain.com it just waits and does not load
> anything for 80 seconds, and when it does, the images that use
GetImag
12 matches
Mail list logo