RE: Can I view PHP source code from the browser 08-25-2016, 12:25 AM
#7
(08-24-2016, 12:35 PM)mothered Wrote: If you want to view a "PHP script" within your browser (locally), then you can If you Install PHP, drop the script In the root directory and view It as localhost/(filename).php In the URL of your browser's address bar.
No, not the php output, the pho source code from a remote host. AFAIK the only way is to exploit some server bug to gain access to the filesystem (or disable php)

























![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)