Issue #838Opened February 5, 2018by josefph4 reactions

[QUESTION] How do I save the images to database?

Question

Please do bare with me but it's really hard to understand the documentation. Can you guys help me do do this?

Answers (3)

JulyanoFFebruary 6, 20182 reactions

@pranzikkin

@pranzikkin it is an array of files: $_FILES['files'] You can debug and see the response on browser's network (console). As it is passing a single file of each time, the file is passing at the first position, so you can take the name of file ($_FILES['files']['name'][0]) the tmp name ($_FILES['files']['tmp_name'][0])... Reference: PHP - File Upload

arthuralmeidapFebruary 6, 20181 reactions

@pranzikkin put the http\https for the url;

something like http://<youraddress>

josefphFebruary 6, 20181 reactions

@JulyanoF thank you for the great help. got it working now. @arthuralmeidap thank you for the help. got it working now.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.