the security issue with the extension .inc - newbie question
Posted: Fri Dec 20, 2002 10:57 am
Hello everyone,
I'm new to this forum - this is great site - and also I'm php newbie, so please bare with me for asking very basic questions, hope somebody help me out with this..
I read somewhere that there's the security issue with extension .inc, and wondering if it's ok to use something like the following or I shouldn't use this .inc extension at all?
And one more question please, I installed Apache, MySQL, PHP, etc, on my computer to study PHP, how can I change permission to the files on my computer?
I know how to do it on remote server - I don't know how to use telnet or SSH, but I know how to do it with FTP, but how can I chmod files on my local computer?
Thanks in advance and happy holidays!
I'm new to this forum - this is great site - and also I'm php newbie, so please bare with me for asking very basic questions, hope somebody help me out with this..
I read somewhere that there's the security issue with extension .inc, and wondering if it's ok to use something like the following or I shouldn't use this .inc extension at all?
Code: Select all
<?php include ('logo.inc'); ?>I know how to do it on remote server - I don't know how to use telnet or SSH, but I know how to do it with FTP, but how can I chmod files on my local computer?
Thanks in advance and happy holidays!