# Something in the URL

**URL:** <https://forum.kirupa.com/t/something-in-the-url/65065>\
**Category:** programming\
**Created:** [September 22, 2004, 6:35pm UTC](https://forum.kirupa.com/t/something-in-the-url/65065 "2004-09-22T18:35:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex1](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@Alex1](https://forum.kirupa.com/u/Alex1)\
**Post date:** [September 22, 2004, 6:35pm UTC](https://forum.kirupa.com/t/something-in-the-url/65065/1 "2004-09-22T18:35:09Z")

</div>

Hello,

I see on some websites that the url to the pages look like this:

> [http://www.invisionboard.com/\*\*?license](http://www.invisionboard.com/**?license)\*\*

What i mean in the part in **bold** ( ?license ). I would like to know how to make my links look simlar to this for several reasons, mainly I think they look better.

If anybody can either provide a simple guide or link to do this, It would be really helpful.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 22, 2004, 6:53pm UTC](https://forum.kirupa.com/t/something-in-the-url/65065/2 "2004-09-22T18:53:12Z")

</div>

Basically the URL activates the default script in the directory. That would probably be index.php if you run PHP.

Then in the script you access the query string. In PHP you do that by accessing $\_SERVER[‘QUERY\_STRING’]. In your example it’ll contain ‘license’.
