# Capture URL

**URL:** <https://forum.kirupa.com/t/capture-url/199237>\
**Category:** Uncategorized\
**Created:** [August 31, 2006, 9:06pm UTC](https://forum.kirupa.com/t/capture-url/199237 "2006-08-31T21:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Post date:** [August 31, 2006, 9:06pm UTC](https://forum.kirupa.com/t/capture-url/199237/1 "2006-08-31T21:06:30Z")

</div>

I have an online comic strip and I’d love to have a feature where people can fill out a form and send a link to a specific strip to their friends.

i’d like to use PHP with an include() to pull this form onto every page dynamically but i’m not sure how i can capture the url of the page if i do it this way. this bit of code is going to get included on many different urls, so how can it grab the current page to send it along? or do i need to explore another direction?
