Downloading php files?

Is it possible to download php files from the server where they are located? I am a beginner in web area, and I worry that hackers may have special tools to download, see my code and understand where I have programmed vulnerable codes to hack my site.


Answer:

If the server is properly configured and there are no security holes in the code then no, it's not possible.
If you have something like
echo file_get_contents($_GET['myFile']);
then this could be used to get your code - never do this!

http://stackoverflow.com/questions/1584482/downloading-php-files