Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

I use php for a website. Can a web user access or see code of these php files?

Can php files be accessed or seen by the public?  If so, how can they?
0
reontareha
Asked:
reontareha
1 Solution
 
Sander StadCommented:
PHP is like all other server-based languages meant to only return static content and execute code on the server.
With this in mind, why would you want people to be able to access your PHP pages?
0
 
reontarehaAuthor Commented:
I DON'T want people to access them for security reasons, thats why i asked the question.  Thanks for your solution.
0
 
butterhookCommented:
The php scripts themselves will NOT be visible to the outside world.

However the HTML content that they render at execution WILL be visible... but this is the whole idea!

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now