faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 21 people (81%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

can show_source function be used to view php source of any php file on any domain?

Jul 16th, 2001 12:08
Rich Cavanaugh, Upendra Vaidya,


No. This function needs access to the PHP source code, if you request 
it through a web server chances are it'll be parsed by PHP on that 
server and only return the result to your script running show_source().