[TYPO3-project-formidable] File upload and process

Paweł Bandura gawelx at gmail.com
Mon Oct 1 17:24:03 CEST 2007


Jerome Schneider pisze:
> Hi,
> 
> You may use renderlet:UPLOAD;
> 
> <renderlet:UPLOAD>
>     <data
>         targetdir="C:/typo3/uploads/"
>         overwrite="false"
>         cleanfilename="true"
>         multiple="false"
>     />
> </renderlet:UPLOAD>
> 
> and in your userobj:
> 
> $sAbsPath = $this->aORenderlets["myrdt_up"]->getServerPath();
> $sRelPath = $this->toRelPath($sAbsPath);
> $sRelPath2 = $this->_removeStartingSlash($sRelPath);
> $sWebPath = $this->toWebPath($sAbsPath);
> 
> Hope this helps,
> Jerome

Hi
Ofcourse this helped (c:
Thanks

-- 
Best regards
Paweł Bandura


More information about the TYPO3-project-formidable mailing list