2ssergА то, что после ? содержится вроде как в $QUERY_STRING
<span style='color:blue'>Если тебе не нравится, как я излагаю, купи себе у бога копирайт на русский язык. (Борис Гребенщиков)</span> <span style='color:yellow'>Все это лишь шизофреническая фантазия моего воспаленного мозга...</span>
'PHP_SELF' The filename of the currently executing script, relative to the document root. For instance, $_SERVER['PHP_SELF'] in a script at the address <a href='http://example.com/test.php/foo.bar' target='_blank'>http://example.com/test.php/foo.bar</a> would be /test.php/foo.bar.
If PHP is running as a command-line processor, this variable is not available.