Capture URL

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?