mynamesleo Posted January 17, 2007 Share Posted January 17, 2007 Just wondering if theres a way to view the php code of a php script online? or some sort of way to see what functions it has etc???? Quote Link to comment https://forums.phpfreaks.com/topic/34589-php-spyview/ Share on other sites More sharing options...
Tandem Posted January 17, 2007 Share Posted January 17, 2007 I'm pretty sure it cannot be done by means of any conventional method, or by using a php script. Quote Link to comment https://forums.phpfreaks.com/topic/34589-php-spyview/#findComment-162930 Share on other sites More sharing options...
linuxdream Posted January 17, 2007 Share Posted January 17, 2007 The only way to do it is if:1) you have an account on the same system as the page you wish to view and the permissions on that system are relaxed enough (either through command line or through a PHP script)2) The programmers of the page makes a mistake and names the extension .htm or something like that3) The web server (or sys admin) screws something up and doesn't enable the PHP module thus making every PHP page downloadable.Situation 1 is the most probable. PHP was designed so that people can't read the code, hence it being a server side processing language.B Quote Link to comment https://forums.phpfreaks.com/topic/34589-php-spyview/#findComment-162952 Share on other sites More sharing options...
mynamesleo Posted January 17, 2007 Author Share Posted January 17, 2007 Ah ok, thought as much. linuxdream; how could I go about testing #1 ? Quote Link to comment https://forums.phpfreaks.com/topic/34589-php-spyview/#findComment-162975 Share on other sites More sharing options...
marcus Posted January 17, 2007 Share Posted January 17, 2007 Upload a php script[code]<?phpshow_source("filename.php");?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/34589-php-spyview/#findComment-162977 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.