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? Quote 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'] Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/75054-url-view/#findComment-379603 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.