[TYPO3-english] How to write something to file with BE module

Dawid Pacholczyk dpacholczyk at gmail.com
Mon Aug 2 13:26:25 CEST 2010


I`ve akready used this fucntion and nothing happened. there was no error,
even more, there was no action. Thats why I`m confused and I wrote here :(

But if a nother person says that this is the function that I should use I`ll
read about it again. Maybe I missed something

Thanks

2010/8/2 Xavier Perseguers <typo3 at perseguers.ch>

> Hi,
>
>
> Dawid Pacholczyk wrote:
>
>> I know. I`m not 100% sure will I use this. But I need to know how can I
>> write a file from my extension. I can secure it like every other .php file
>> so it`s not that big issue. But first I need to know how can I write a
>> file
>> from my ext than I can start to worrie about the security issues.
>>
>
> What about using official API?
>
> t3lib_div::writeFile($file, $content)
>
> Regards
>
> --
> Xavier Perseguers
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



-- 
Dawid Pacholczyk
tel: 502-054-334
gg: 5564051
skype: dpacholczyk
http://typo3blog.pl (only polish version at the moment)


More information about the TYPO3-english mailing list