# \[php\] Detecting URL Query

**URL:** <https://forum.kirupa.com/t/php-detecting-url-query/201659>\
**Category:** programming\
**Created:** [September 23, 2006, 5:49pm UTC](https://forum.kirupa.com/t/php-detecting-url-query/201659 "2006-09-23T17:49:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esherido](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/esherido/32/2158_2.png) [@Esherido](https://forum.kirupa.com/u/Esherido)\
**Post date:** [September 23, 2006, 5:49pm UTC](https://forum.kirupa.com/t/php-detecting-url-query/201659/1 "2006-09-23T17:49:47Z")

</div>

I’ve looked around for this for about 30 minutes with no success, but how do you get the actuall query string? :puzzled:

[COLOR=DimGray]Example:[/COLOR]  
[example.com/?yo\_mamma](http://example.com/?yo_mamma)

How would I detect the _yo\_mamma_ after the \*?

\*[RIGHT]Thanks again,  
:pa: Esherido  
[/RIGHT]
