Hi,
I'm having this error in my script. It's a registration form for Joomla.
The code I'm having problem with is as follows:
$ufile_properti=getimagesize($ufile['tmp_name']);
It will show an error if I don't upload any avatar in the registration form.
Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in /home/xxx/public_html/xxx.php on line 103
However, it will be fine if I upload an avatar in the form itself.
Can anyone help me in this?
Thanks.
Regards,
Alex