file_exists does not work for me
===

i am using following code, but its not work for me.

    $img1=$info['available_now']; //http://www.jjbsports.com/pws/client/images/catalogue/products/65014201/zoom/65014201_white.jpg

    $filename = $img1;

    if (file_exists($filename)) {
          echo "The file $filename exists";
           echo '<img src="'; echo $id1; echo '"width="50" height="50"/>'."<br>";
    } else {
          echo "The file $filename does not exist";
           echo '<img src="'; echo $id1; echo '"width="50" height="50"/>'."<br>";
    }

Please help me Regards,