I just moved to a new host and finally being able to run my PHP files from the htdocs directory was nice, then I noticed I didn't have to upload in ASCII format or to CHMOD them to 755, (I was running them in cgi-bin before) I also noticed that you could just type in www.site.com/connect.inc and download it, slight problem that! So I can now either call it connect.php, or, as I am now doing, keep it in my cgi-bin folder where I can call it from, is there another way?
What should general PHP files be CHMODed to, and are there permission you can set .inc files to so that they can be used, and not simply viewed or downloaded by a user!
Thanks