fguy64
New Member
- Messages
- 218
- Reaction score
- 0
- Points
- 0
Suppose I have an html file in my public_html directory, and that html file contains a reference to a php file, call it test.php, in a different directory, call that directory dir1. That means that anyone will know that there exists in dir1 a file called test.php.
now suppose dir1 has permissions 711, which should make it possible for test.php to execute properly.
given that the php code gets parsed at the server and is not sent to the browser, is there a way for someone to actually get a look at that php code, and if so, how could I prevent that from happening?
Thanks.
now suppose dir1 has permissions 711, which should make it possible for test.php to execute properly.
given that the php code gets parsed at the server and is not sent to the browser, is there a way for someone to actually get a look at that php code, and if so, how could I prevent that from happening?
Thanks.