-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 12.08.2011 12:17, schrieb ulrich: > Hallo Liste, hab hier ein Problem mit Typo3 (4.3): > > ich muss ein Cookie per TS auslesen, was man ja normalerweise in > etwas so löst: subparts.mycookie.data = global : HTTP_COOKIE_VARS | > mycookie > > Mein Problem ist nun, dass der/das Cookie aber mycookie[00][hallo] > heisst. Also eckige Klammern verwendet. Geb ich die nun ein, dann > kann Typo3 natürlich nix mit anfangen... > > > Mein Frage wär nun: Wie bring ich Typo3 bei, die [ ] im Namen zu > akzeptieren? > > > Bisher nicht funktioniert hat: HTML Entity Code für ASCII: > mycookie[00][hallo] > > globalString benutzen hat auch nix gebracht.. [globalString = > ENV:HTTP_COOKIE_VARS | pbsurvey[90][responses]] > > > Bin für jeden Tipp dankbar!
Hi Ulrich, ist jetzt nur nen vermutung aber ich würde sagen probier mal genau so wie auf "get/post variablen zuzugreifen subparts.mycookie.data = global:HTTP_COOKIE_VARS|mycookie|00|hallo eckige klammern wandelt php normalerweise schon in array's und typo3 versteht das pipe symbol als array trenner. (weiss aber nicht ob es sich bei cookies genau so verhält. gruss chris - -- Christian Wolff // Berlin http://www.connye.com some projects: http://richtermediagroup.com | http://titanic.de | http://keyopinions.info -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEARECAAYFAk5FH4MACgkQIcCaXPh/JHGfRwCgvcK8v0XuFLwC7MX99YSA+pqZ HPIAoLLjpjw6j8oV77UfnEB53Mqys6M/ =QJum -----END PGP SIGNATURE----- _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german