E
E
Eugene2018-03-14 08:28:08
PHP
Eugene, 2018-03-14 08:28:08

How to make a simple version of uploading images to the site?

Let's say we have a page. html. And there are pictures on it inserted through the img tag as usual.
What is the point. You need to do something like an admin panel, where you can delete some photo, replace and add.
What is the shortest implementation path? Of course, I could put everything on the Yii2 framework, but I would like it without Yii2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Kozlov, 2018-03-14
@Kozlovdaniil

The shortest - on any framework. Yii2 here is just too much. But yes, the framework is, of course, superfluous here.
And so - just cook up a script that will write to the database (it doesn't matter, a muscle, or just a file) the necessary values ​​\u200b\u200band hang up authorization.
Judging by the knowledge of yii, this should not be a problem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question