[support] getting $_GET excluding $_GET['q']

Ivan Sergio Borgonovo mail at webthatworks.it
Mon Jan 14 14:25:34 UTC 2008


I've other parameters in the query string just because I don't want
them to be positional.

url is something like /blabla/bubu/bibi/?id=stuff

I'd like to use:
$form['#action'] = url($_GET['q'], drupal_get_destination());

but the id query string part get encoded to

%3Fid%3D81152

Is there any other way to avoid positional parameters in query
string? or is there a function to obtain the referring url?

thx


-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



More information about the support mailing list