I am kind of new and now doing this uploading of image, how to do the coding for checking the filesize of the image?? If the image file size is more than 50kb then output an error, else it will be uploaded... Thanx in advance..
filesize();
Look that up. It turns it into bytes so you must divide it by 1024 to get it in Kilobytes Kb
then see if its bigger than 50Kb