On your Rent_Insert page make sure that there is no extra whitespace between the PHP code blocks.
For example:
?>
<?php
That would cause an error.
Also, make sure to check the permissions on your upload folders. Make sure that there is read and write permissions.