• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where do I upload Admin created forms?

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?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.