small error I cant find, please check this rename() function
<p>Please have a quick look below, what is wrong here?</p>

<pre><code>$tmp_img_path="../temp_images/";
$name_image1="mypicture.jpeg";
$new_img_path="../images/";
rename($temp_img_path.$name_image1, $new_img_path.'thumbs/');
</code></pre>

<p>I want to find the file with filename $name_image1 and place it in the new path, but in a folder called 'thumbs'.</p>

<p>I get warning rename function in my browser!</p>

<p>Thanks</p>
