typo3 typolink in Extension

PCGamer

Mitglied
Hallo,

in meiner Extension hab ich per typolink folgenden Link zusammengestellt:

PHP:
$url = t3lib_div::locationHeaderUrl() . $this->pi_linkTP_keepPIvars_url();
         $title = $record['ueberschrift'];
         
         $link = array("parameter" => 39, "additionalParams" => "&tx_powermail_pi1[uid25]=$title&&tx_powermail_pi1[uid26]=$url&" . $this->prefixId.'[cat]' . "&wohnung");

Doch meine $url wird nicht richtig dargestellt, und habe deshalb Probleme die aktuelle URL in mein HIDDEN- Feld einzutragen :(
Die URL sieht so aus (schon beim verlinken!)
Code:
a href="index.php?id=39&tx_powermail_pi1%5Buid25%5D=G%C3%BCnstig%20Wohnen&tx_powermail_pi1%5Buid26%5D=http%3A%2F%2Flocalhost%2Ft3%2Findex.php%3Fid%3D33&no_cache=1&tx_imokat_pi1%5Blay%5D=1&tx_imokat_pi1%5Bitem%5D=1&tx_imokat_pi1%5Bcat%5D=&wohnung=">

Wie bekomme ich die Sonderzeichen wieder wie "[", "]", "http://" und "&" in der URL hin?


Gruß,
PCGamer
 
Zurück