File upload leads in 'Class "App\Controller\File" not found' |
Hi everyone,
I try to upload a file via an upload form and I get the error message 'Class "App\Controllers\File" not found. The file is not uploaded to the file system. My Code: PHP Code: <?php XAMPP htdocs: public Folder Is someone able to support me with this issue? THX in advance.
Hi,
ich habe das aus der Codeigniter4 Doku und verstehe nicht, was das Problem ist. Deshalb meine Frage.
Namespaces are PHP's basic feature. It is not CI4 specific matter.
Read: - https://www.w3schools.com/php/php_namespaces.asp - https://learncodeigniter.net/codeigniter...igniter-4/ - https://www.php.net/manual/en/language.n...ionale.php
Now I got your Point.
PHP Code: <?php das gehört nicht zu einer CI4 eigenen Klasse, sondern ist eigentlich ein Model o.ä. Darüber bin ich tatsächlich nicht gestolpert. Danke. |
Welcome Guest, Not a member yet? Register Sign In |