i have the following code for uploading the file on my folder and it is working on localhost, but when i uploaded the code online, it's not working though i have put the correct path. Is there any way i could see the reason or error why? 

```
 move_uploaded_file($img_tmp,"../images/profile/$post_image1");

```