[TYPO3-german] Eigene Ext: class.t3lib_svbase.php -> readFile

cool_coders at web.de cool_coders at web.de
Wed Dec 19 14:47:35 CET 2007


ah ok
dank dir
gruß niels
> Hallo Niels,
>
> cool_coders at web.de schrieb:
>   
>>    $readObj = t3lib_div::makeInstance('t3lib_svbase');
>> ...
>>    $test = $readObj->readFile($serverurl.$file_path.$filesrc);
>>
>> $serverurl = http://localhost:8503/
>> $file_path = fileadmin/csv/
>> $filesrc = test.csv
>>
>> Warum geht das nicht?
>>     
>
> Diese Funktion liest Dateien aus dem Dateisystem ein und _nicht_ über
> http. Für letzteres ist die Funktion t3lib_div::getURL zuständig.
>
> HTH
>
>   



More information about the TYPO3-german mailing list