mistar.jimmy Posted September 26, 2009 Share Posted September 26, 2009 I've tried with website download software and php scripts , both of them returned only the HTML content. Is there any possible way I can get the source code of a php file located on a remote server? Quote Link to comment https://forums.phpfreaks.com/topic/175628-viewing-php-file-source-code-from-remote-server-is-there-any-possible-way/ Share on other sites More sharing options...
corbin Posted September 26, 2009 Share Posted September 26, 2009 No. Quote Link to comment https://forums.phpfreaks.com/topic/175628-viewing-php-file-source-code-from-remote-server-is-there-any-possible-way/#findComment-925459 Share on other sites More sharing options...
hostseller Posted October 15, 2009 Share Posted October 15, 2009 Php software at server side produces html output of dynamic content. This is how web server (ie; Apache), Php and database (ie; MySQL) works together. The answer is no --- as long as there is no problem in web server installation and/or a problem in php script. Quote Link to comment https://forums.phpfreaks.com/topic/175628-viewing-php-file-source-code-from-remote-server-is-there-any-possible-way/#findComment-937136 Share on other sites More sharing options...
greatstar00 Posted December 12, 2009 Share Posted December 12, 2009 if u have admin access to that server, you can write a script to read that file, output all of those contenti, use fopen, fread if u dont have admin access, then no Quote Link to comment https://forums.phpfreaks.com/topic/175628-viewing-php-file-source-code-from-remote-server-is-there-any-possible-way/#findComment-975847 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.