SirChick Posted October 28, 2007 Share Posted October 28, 2007 Is there a way using php to check what php script the user is viewing? If so how is it done? Link to comment https://forums.phpfreaks.com/topic/75054-url-view/ Share on other sites More sharing options...
trq Posted October 28, 2007 Share Posted October 28, 2007 $_SERVER['PHP_SELF'] Link to comment https://forums.phpfreaks.com/topic/75054-url-view/#findComment-379600 Share on other sites More sharing options...
cooldude832 Posted October 28, 2007 Share Posted October 28, 2007 Just want to clarify with you users don't view php scripts, they view the output of a script generally combined with xhtml output and other elements (unless it is ran in the command line). If users could see the "script" then you have a major security issue as people could steal your work/passwords and so forth. Link to comment https://forums.phpfreaks.com/topic/75054-url-view/#findComment-379603 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.