dreamci Posted July 9, 2008 Share Posted July 9, 2008 hi i want to ask a question in php how to show the page name i mean if i am on the page www.mywebsite.com/currentpage.php , is it possible to get the currentpage.php name if yes please tell me how . thanks in advance Quote Link to comment Share on other sites More sharing options...
Wolphie Posted July 9, 2008 Share Posted July 9, 2008 Yes it is, $_SERVER['SCRIPT_NAME'] Quote Link to comment Share on other sites More sharing options...
dreamci Posted July 9, 2008 Author Share Posted July 9, 2008 thank you for very fast reply Wolphie Quote Link to comment Share on other sites More sharing options...
Wolphie Posted July 9, 2008 Share Posted July 9, 2008 Remember to hit "Topic Solved"! Quote Link to comment 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.