Hello all.
I'm developing the administrator for a website and there is this module where you can upload a file that can be an image or a swf file.
I wanted to know if there is a way to get the width and height with PHP of the uploaded file.
Thanks!
You should try using the [man]getimagesize[/man] function. I think it requires certain PHP modules to be installed and enabled, but I think it does exactly what you want.
awesome, thanks, it works perfectly!!