On 09/05/2015 09:28 PM, Richard Reina wrote:
> I am following this youtube video to learn how to create an image upload
> form on a page -- which would allow a user to upload an image. About 6
> minutes into the video it goes into using php. Does anyone know how I can
> do this in dancer2 so I won't have to uses php.
> 
> 
> 
> _______________________________________________
> dancer-users mailing list
> [email protected]
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
> 


Have a look on https://metacpan.org/pod/Dancer::Request::Upload
for Dancer2 - Dancer2::Core::Request::Upload.

Here is a working example for Dancer:
https://github.com/mestia/simpleshare/blob/8129bc86d9f7b524117bc3d392b6f6a8c886aa69/lib/multifileupload.pm


_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to