![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 38 Pomógł: 0 Dołączył: 16.10.2007 Ostrzeżenie: (0%) ![]() ![]() |
Witam, nie moge sobie poradzic z uploadem pliku. Znalazlem w manualu jak to zrobic:
$fileName = $this->getRequest()->getFileName('file'); $this->getRequest()->moveFile('file', sfConfig::get('sf_upload_dir').'/'.$fileName); $this->redirect('media/show?filename='.$fileName); Ale dotyczy to wersji 1.1 a dla 1.2 nie ma. Prosze o pomoc |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 879 Pomógł: 189 Dołączył: 14.06.2006 Skąd: Bytom Ostrzeżenie: (0%) ![]() ![]() |
Serio nie ma? Nie wierze...
http://www.symfony-project.org/book/forms/..._02_file_upload http://www.symfony-project.org/book/forms/...sfvalidatorfile Oczywiście plus google, ale nie wierzę, że o nim nie słyszałeś ![]() Ten post edytował destroyerr 24.02.2009, 23:55:24 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 14:40 |