Stimmt das AJAX ist ja auch ok, der Request wird perfekt abgesetzt etc,
nur was muss ich tun damit eine PHP Datei in einer Extension funktioniert.

Oder anders gefragt warum kann ich eine PHP Datei in meiner Extension nicht 
ausführen gibt es einen Grund dafür?

gruess
Harald

"Kay Strobach" <ty...@kay-strobach.de> schrieb im Newsbeitrag 
news:mailman.1.1308935768.10116.typo3-ger...@lists.typo3.org...
> hi in typo3 ist das zauberwort für ajax eid ;)
>
> Grüße
> Kay
>
> Am 24.06.2011 18:03, schrieb Harald Keller:
>> sorry der Code hat es verhackt:
>>
>> <?php
>> require_once(PATH_tslib.'class.tslib_pibase.php');
>>
>> class my_ajax extends tslib_pibase {
>>
>>      public function main() {
>>         $wert="mein test";
>>         $GLOBALS['TSFE']->fe_user->setKey('ses','checkfields',$wert);
>>         $GLOBALS['TSFE']->storeSessionData();
>>         return;
>>         }
>> }
>>
>> $output = t3lib_div::makeInstance('my_ajax');
>> echo $output->main();
>>
>> ?>
>>
>>
>
>
> -- 
> http://www.kay-strobach.de - Open Source Rocks
>
> TYPO3 .... inspiring people to share!
> Get involved: http://typo3.org 


_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an