Nette save an uploaded image

Notice: This thread is very old.
Takeshi
Member | 566
+
0
-

Hi all,

how can I save an uploaded file/photo?
Thank you a lot!

Last edited by Takeshi (2014-01-01 17:51)

Takeshi
Member | 566
+
0
-

Jan Tvrdík wrote:

https://api.nette.org/…eUpload.html#…

Sorry, but I don't know to read this. Can you give me an example? Thanks.

David Matějka
Moderator | 6276
+
0
-
$values = $form->values;
$values->image->move($destination);
Takeshi
Member | 566
+
+1
-

matej21 wrote:

$values = $form->values;
$values->image->move($destination);

Thank you :-)

nicolewiggins
Member | 1
+
0
-

Thanks I also have a trouble...…!

Last edited by nicolewiggins (2014-01-08 12:12)