Get Current Pages Url?

admin

Administrator
Staff member
I have been searching around the internet with little luck, probably cause Im not explaining what I want properly. <br /><br />In my page I need to somehow "echo" or display the url of the current page. Is there a line of code in html or php to get and display or insert the current url?<br /><br />Thanks<!--content-->
What are you using? <br /><br />PHP? - try the variables HTTP_HOST and PHP_SELF<br /><br />HTML - you need to use SHTML (Server side includes) and the variable DOCUMENT_URI<!--content-->
 
Back
Top