The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi I want to restrict how big someone can link an avatar (I'm using a hack that lets you link off another website rather than upload)
however it places no restrictions on file size, is there any way to set up a thing that checks a file's size/dimension when it is put in a form? |
|
#2
|
|||
|
|||
|
Hi,
the the PHP function getimagesize() you can get the dimentions of an image. Try this: PHP Code:
whizkid |
![]() |
|
|