Welcome Guest, Not a member yet? Register   Sign In
Where do I upload Admin created forms?
#1

(This post was last modified: 12-03-2019, 01:24 AM by prikkles.)

On the admin panel, my admin users copy <form> code into a <text> input box (same for the action page) that my Admin Panel then writes to two separate .php files (form page and action page) and saves into a date-defined directory in my views folder. The directory path of the files are then saved in a database. 

The website then loads the forms into a template and displays them through index.php as usual. Users can then access and use them on the main site. 

Is storing them in the views best practice? Or best option? Should these be stored in the public or other directory instead?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB