How do you check uploading files for upload_max_filesize and post_max_size on the server side? If files are bigger than these values, they don't even get to the file array. So how can I prevent file uploads which are bigger than these?
With normal form posting file can be obtained like so:
[code]
echo $form->file('my_file[]', ['class' => 'attachment-file']);
...
$data = $this->request->request->all(); // form input values excl. files
$files = $this->request->files; // form files
$…
What should I join with in entity class to have the File table:
- Concrete\Core\File\File,
- Concrete\Core\File\Version,
- Concrete\Core\Entity\File\File or
- Concrete\Core\Entity\File\Version?
I want my class to remove an entry when a file is dele…
Can some help with this ?
https://gudhjem-glasroegeri.dk/index.php...
Its on a clean new install an happend on the install of wire theme
REGARDS
Flemming
In the old days pre version 7, if someone typed a url like so: http://www.example.com/Contact it would 301 to the correct url of http://www.example.com/contact avoiding any potential duplicate content issues.
It seems that this is no longer the case wi…
I have a number of Select File widgets on a page:
[code]
echo $form->file('file[]', ['accept' => ".jpg, .jpeg, .png"]);
[/code]
I get the files array with:
[code]
$files = $this->request->files;
[/code]
And I need to validate each of them. I can't…
Where does concrete5 store actual files: in the application/files folder or in a DB?
I need to store large files in a server folder, not in the DB, because server HDD space is nearly unlimited while the DB size is not.
If I add a new local file sto…
This is a fairly technical question. In v8.3.0 C5 merged the Calendar plugin into a core feature. I'm trying to figure out the best way to transition from using the Calendar plugin with v8.2.1 to the built in calendar feature in v8.3.0. I see that there a…
I have a concrete5 site at v8.2.1 and I need to change how I manage updates. Right now I unzip framework updates into the "updates" directory and update through the GUI but I want to transition to merging updates into the concrete directory (so I can use …
If you're looking to get help with an Add-on or Theme you got out of the marketplace, you can do that from the very same place you got the item in the first place. For example, if you have an eCommerce or Calendar question - go check out the Support tab for each of them.
Pick an Answer
Hey, you're asking a community of busy people to volunteer their time to find you an answer. Help us know if your thread is resolved or not by picking an answer.
There's a little "Mark as Best Answer" link to every post in your thread. When you find the best answer to your question, just click that link and all sorts of wonderful things happen to everyone!
-Thank You! MGMT
Post
Sign In?
You must have a user account and be signed to perform this action.