Welcome Guest, Not a member yet? Register   Sign In
problem with form data
#21

(04-14-2023, 10:42 PM)InsiteFX Wrote: From day 1 CodeIgniter has always used Controller/Method with no / on the end for the URL of Form Data.

Yes, and the issue has nothing to with CodeIgniter4.

POST appointment/ → Apache mod_rewrite redirects it to appointment
GET appointment → $this->request->getPost() is empty.

# Redirect Trailing Slashes...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
Reply
#22

Thank you everyone for your help
Reply




Theme © iAndrew 2016 - Forum software by © MyBB