For the uploading part of the ecards section of my site I can easily add information to the database such as the filename and type by using $_FILES['userfile']['name']. However it's fairly important that for when the view pag is generated the height and with of the image is present in the database.
Is there a way I can add this to the database before the file has been uploaded to the server?
If not is there a way I can have the height and width added to the row after the file has been uploaded?