Create pages .php |
[eluser]Stoppy[/eluser]
[quote author="bubbafoley" date="1302910590"]you can set the url_suffix config item to append .php to your urls. http://ellislab.com/codeigniter/user-gui.../urls.html see the section 'Adding a URL Suffix'[/quote] Hi, maybe I was not so clear. Condeigniter works MVC model-controller-view From a controller I call one or more modules then a view and send the output. I would like to create pages (true files) .php in the server, use them as "controllers" and use there models and views i have in my application/ directory for example i have /application /application/models/mypersonal_model.php /appucation/views/mypersonal_view.php /controllers/ /system index.php anotherpage.php anotherdirectory/anotherpagetwo.php in anotherpage.php i would like to write or use a controller.... Is crazy I know but there is a way? The first solution i had was to create a standard MVC and inside the page call it using file_get_contents() ... but is an horrible solution! there is or not a way? what do you think? Thank you |
Messages In This Thread |
Create pages .php - by El Forum - 04-15-2011, 10:10 AM
Create pages .php - by El Forum - 04-15-2011, 12:36 PM
Create pages .php - by El Forum - 04-15-2011, 02:47 PM
Create pages .php - by El Forum - 04-15-2011, 03:04 PM
Create pages .php - by El Forum - 04-15-2011, 03:07 PM
|