Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP getting the PHP file [closed]

Tags:

security

php

Is there any way to get the source file of PHP like you would for HTML file or javascript from web browser alone? If so how? If not why?

like image 363
denniss Avatar asked May 02 '26 15:05

denniss


1 Answers

No, this is not possible. Server-side languages are meant to be interpreted and run before the output is sent to the browser.

like image 92
Jacob Relkin Avatar answered May 04 '26 03:05

Jacob Relkin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!