Topic awaiting preservation: detect image type (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 05-26-2002 11:05
There's a way to detect the image file from an URL |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 05-26-2002 11:25
<?php |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-26-2002 11:29
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 05-26-2002 11:32
Cool!! code: $tempo ='anyname'; |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 05-26-2002 11:35
Oh!! hehe, you're faster than me posting guys! |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-26-2002 11:36
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 05-26-2002 11:38
If I'm not wrong, bitdamaged, to check the first bit, i would do it with the exif_imagetype thing? |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 05-26-2002 11:41
I could do the following ini: code: if(ereg("\.gif$",$filename)) // Look for .gif extension
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-26-2002 11:54
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 05-26-2002 12:01
Hey! way too cool! |