Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Is there a way to upload files directly to AWS without saving it first in writeable
Post: RE: Is there a way to upload files directly to AWS...

You must skip the move process but you need to implement the upload to S3. In alternative you can use presigned requests to upload to S3 directly: Code: -- https://docs.aws.amazon.com/sdk-for-php/...
2,335 Views
4 Replies
07-11-2023, 03:56 AM
evandroagnes
    Thread: Testing a controller that has validation: getVar don't work
Post: RE: Testing a controller that has validation: getV...

kenjis Wrote: (03-01-2023, 12:30 AM) -- I think using getPost() is better when you use POST requests. Why do you need to use getVar()? Ah, $this->validate() uses getVar()! 1. use $this->valida...
870 Views
2 Replies
03-01-2023, 02:34 AM
evandroagnes
    Thread: Testing a controller that has validation: getVar don't work
Post: Testing a controller that has validation: getVar d...

Hi everyone, I'm trying to code a unit test for a controller that has validation but it seems that the method $request->getVar don't work when you set de request in the test: Code: --
870 Views
2 Replies
02-28-2023, 02:14 AM
evandroagnes

Theme © iAndrew 2016 - Forum software by © MyBB