CodeIgniter Forums
problem with form data - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: problem with form data (/showthread.php?tid=87359)

Pages: 1 2 3


RE: problem with form data - kenjis - 04-14-2023

(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]


RE: problem with form data - anuragk - 04-18-2023

Thank you everyone for your help