Create a valid Codeigniter Controller from a form Post
$30-50 USD
In Progress
Posted about 11 years ago
$30-50 USD
Paid on delivery
simple ajax form with one post $_POST['filename']. must validate with regular expression
to prevent invalid php classname .
Create valid CI controller from a $_POST['filename'] value.
under /var/www/application/controller/[login to view URL]
the new controller must have the same data/content/class from
/var/www/application/blueprint/[login to view URL]
Note: The class and controller name but match the value from $_POST['filename'].and must include all other functions from
/var/www/application/blueprint/[login to view URL]
user Regular expression to rename the controller name and class.
use codeigniter default controller and model instruction see codeigniter user guide.
the main goal is to copy call,all property,all method from blueprint/[login to view URL] and place that a new file on controller folder as a valid controller.