[phplib] $QUERY_STRING and self_url() From: Jens Heneweer (jens.heneweer <email protected>)
Date: 02/21/01

Hello!

The function self_url returns the URI to the actual page, with all
parameters. So, wenn in GET-Mode, this could be like

http://www.foo.com/index.php?[login-data/session-data]&[additional-data]

This is quite logical. But, when I use a system, that always
backreferences to the same file and that determines by the
GET-Parameters which template-files it has to include and therefore what
'page' it has to show, it can get quite
annoying, because self_url() and pself_url() always append the
additional data to the path. Is there any way, to prevent php from doing
so? Thus, when I am on a page like the one mentionned above and use
pself_url(), it gives out just
http://www.foo.com/index.php?[session-data].

Has someone developped some regular expressions that filter everything
apart from the session-data (when in get mode)?

Jens

-- 
If they give you ruled paper, write the other way
 - Jiménez

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>