Link to home
Start Free TrialLog in
Avatar of Pedro Chagas
Pedro ChagasFlag for Portugal

asked on

View php code in the browser

Hi E's, have any way to show in the browser the entire code of a file, like php, html, etc (is not execute, is just show like we see in a text editor).
In practice, I try to create my own web develop library, and when I want to get access to my tutorials and see the code of the files of my tutorials, I simple see the code in the browser.

Is possible, and how?

Regards, JC
ASKER CERTIFIED SOLUTION
Avatar of re-searcher
re-searcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pedro Chagas

ASKER

I've requested that this question be closed as follows:

Accepted answer: 0 points for joaochagas's comment http:/Q_27401398.html#36982970
Assisted answer: 150 points for re-searcher's comment http:/Q_27401398.html#36982921

for the following reason:

My solution resolve the issue in a easy way.
the last way which i said in my previous post is show_source and highlight_file (alias of show_source) .
my answer is complete and contain best solution.
My own solution is more specific and have a practical example.