Hi,
I was wondering whether there is a way to find out the attributes of an image file using php. like finding out the width and height?
I have got the name of the file and the folder that it is in.
Thanks,
look up getimagesize() in the manual, it returns an array of some of the stuff you want. I can't remember the link to the manual pages, but i'm sure you can find them. start with www.php.net.
I just looked at your website (looks nice) , but if you know that much about PHP, why a simple question like that?
I've got it all sorted.
I just haven't come across that function before, but I was pretty certain that it existed.
Thanks for the help.