# URL of a page

**URL:** <https://forum.kirupa.com/t/url-of-a-page/152490>\
**Category:** programming\
**Created:** [June 25, 2005, 6:46am UTC](https://forum.kirupa.com/t/url-of-a-page/152490 "2005-06-25T06:46:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![r27122003](https://avatars.discourse-cdn.com/v4/letter/r/90ced4/32.png) [@r27122003](https://forum.kirupa.com/u/r27122003)\
**Post date:** [June 25, 2005, 6:46am UTC](https://forum.kirupa.com/t/url-of-a-page/152490/1 "2005-06-25T06:46:46Z")

</div>

Help me…  
how can we find out the [url of a current page([url=“http://forums.htmlcenter.com/showthread.php?p=7966#”]PHP page) by using PHP or [url=“http://forums.htmlcenter.com/showthread.php?p=7966#”]javascript…? i want the [url=“http://forums.htmlcenter.com/showthread.php?p=7966#”]browser](http://forums.htmlcenter.com/showthread.php?p=7966#) url not the file path…  
thank you
