hi,
i am uploading the image files via form, and then reading the image info and saving it to the db.
e.g., image size, type etc. but i need to get the width & height too, so if the image is used in some webpae, the db will return its width and height for the <IMG> tag.
i am using:
size_x = imagesx($userfile);
size_y = imagesy($userfile);
where $userfile is the image file taken from FORM:
but this gives me an error, stating:
Fatal error: Call to undefined function: imagesx() in d:\program files\apache group\apache\htdocs/project/Media.php3 on line 106
undefined function???
please help.
regards,
Daarius...