hi

what's wrong with these codes below?

Code:
if ($image1 != '') {
	rename("/upload/$pic1", "/upload/$body1");
}

if ($image2 != '') {
	rename("/upload/$pic2", "/upload/$body2");
}
the error is
Code:
Warning: rename(/upload/ako.jpg,/upload/iridion@gmail.com1ako.jpg) [function.rename]: No such file or directory in /home/nursecar/public_html/mailerauth.php on line 120

Warning: rename(/upload/eyeball.jpg,/upload/iridion@gmail.com2eyeball.jpg) [function.rename]: No such file or directory in /home/nursecar/public_html/mailerauth.php on line 124
the line 120 and 124 are those codes above.

Can you give advice or answer to this problem please.

Thank you in advance.