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 Link to comment https://forums.phpfreaks.com/topic/113896-solved-how-to-get-page-name/ Share on other sites More sharing options...
Wolphie Posted July 9, 2008 Share Posted July 9, 2008 Yes it is, $_SERVER['SCRIPT_NAME'] Link to comment https://forums.phpfreaks.com/topic/113896-solved-how-to-get-page-name/#findComment-585250 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 Link to comment https://forums.phpfreaks.com/topic/113896-solved-how-to-get-page-name/#findComment-585255 Share on other sites More sharing options...
Wolphie Posted July 9, 2008 Share Posted July 9, 2008 Remember to hit "Topic Solved"! Link to comment https://forums.phpfreaks.com/topic/113896-solved-how-to-get-page-name/#findComment-585267 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.