Welcome Guest, Not a member yet? Register   Sign In
CI 4 contact form with configuration

well lets be generous today with some pointers.

The basics are look into a simple form. It has fields with labels , i.e names

The form will use "POST" to some controller.

IN that controller you get get what a web surfer entered using :


where name is the label given to the text field in the form.

Once you collate what the user entered and considered security i.e clean up what a malicious user might do , its then just a case of sending that info to your own email. If you search this forum i have already set out how that can be done using PHPMailer. You an also use CI4 approach i.e their own email system

Messages In This Thread
RE: CI 4 contact form with configuration - by captain-sensible - 04-16-2021, 02:23 PM

Theme © iAndrew 2016 - Forum software by © MyBB