Question: In my site we are doing image protecting section. Can I protect images in my site from others without download.That is i want to protect my image from downloading by others.Is it possible using php code

Answer: 
You can't protect your images with PHP because PHP is server side. JS can be used because it's client side, but somebody can easily disable JS in their browser and save the image anyway. There is no way to fully protect the images that you're displaying. If it's available via the Internet, anyone can download it.
If you are using those images users to display you can not protect that.But if you are not using you can protect using the .htaccess file.