php_beginner_83 Posted November 27, 2009 Share Posted November 27, 2009 Hi All I was just wondering if it's possible to view a websites php source code? I know that php is a server side scripting language and that it is processed at the server and the results are sent back to the browser but there always seems to be ways around everything to do with computing. Thanks Link to comment https://forums.phpfreaks.com/topic/183098-is-it-possible-to-view-php-source-code/ Share on other sites More sharing options...
vinpkl Posted November 27, 2009 Share Posted November 27, 2009 no its not possible. vineet Link to comment https://forums.phpfreaks.com/topic/183098-is-it-possible-to-view-php-source-code/#findComment-966328 Share on other sites More sharing options...
oni-kun Posted November 27, 2009 Share Posted November 27, 2009 Hi All I was just wondering if it's possible to view a websites php source code? I know that php is a server side scripting language and that it is processed at the server and the results are sent back to the browser but there always seems to be ways around everything to do with computing. Thanks All the browser sees, is what is parsed. It does not even know if PHP, PERL or ASP is even generating the page unless the server tells it. The only way possible is if you gain FTP access etc. But it's impossible to change the hardcoded security the server has. Link to comment https://forums.phpfreaks.com/topic/183098-is-it-possible-to-view-php-source-code/#findComment-966331 Share on other sites More sharing options...
Mchl Posted November 27, 2009 Share Posted November 27, 2009 The only way possible is if you gain FTP access etc. Or to find a security hole in the script itself that will allow you to inject code that will be evaled. Link to comment https://forums.phpfreaks.com/topic/183098-is-it-possible-to-view-php-source-code/#findComment-966344 Share on other sites More sharing options...
PFMaBiSmAd Posted November 27, 2009 Share Posted November 27, 2009 Or if there is a file download link that allows an arbitrary filename to be specified on the end of the URL. Link to comment https://forums.phpfreaks.com/topic/183098-is-it-possible-to-view-php-source-code/#findComment-966426 Share on other sites More sharing options...
php_beginner_83 Posted November 28, 2009 Author Share Posted November 28, 2009 Thanks everyone for your replies..now I know Link to comment https://forums.phpfreaks.com/topic/183098-is-it-possible-to-view-php-source-code/#findComment-966823 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.