hi,
Also angenommen ich habe
www.meinedomain.de/index.php?bla=222&test=28dncu
Dann macht das Script daraus
www.meinedomain.de/index.php?js=1
ich will aber das es folgendes macht:
www.meinedomain.de/index.php?bla=222&test=28dncu&ja=1self.location.href = "<?php echo basename($_SERVER['PHP_SELF']); ?>?js=1";
du besorgst dir entweder PHP-seitig (aus $_SERVER) oder JS-seitig (aus location.search) das, was derzeit schon im query-string drin steht, und hängst dann noch dein js=1 an.
beim trennzeichen aufpassen, wenn schon was im query-string drin stand, dann & nehmen, ansonsten natürlich ?
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."