Say I have got a file that I want to include in php. I gave it the extension .inc This works fine when included by a php file. However if some one goes directly to the .inc file they see all the contents not so good, I tried giving the included file .php but that means that it dose not get phrased(?) correctly. Is there a way to stop people seeing the contents of these files, was thinking of using .htaccess (did not get to far) or some clever php? any ideas.