• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom PHP with Codeigniter

#4
If you are looking to keep completed parts of your project along with codeigniter, you could probably do it by modifying your .htaccess file and making sure calls to those standalone .php pages bypass CodeIgniter's index.php.

But you probably don't want to do this.

I am assuming that your existing php code exists in php pages.  Codeigniter views are php pages so technically you could just make dummy controllers that do nothing more than $this->load->view('my_old_php_page.php');

Of course if these old pages access a database it would be pretty sloppy and the first thing you are going to want to do is move that database code into models.
Reply


Messages In This Thread
Custom PHP with Codeigniter - by SANDE - 12-08-2014, 02:01 AM
RE: Custom PHP with Codeigniter - by Avenirer - 12-08-2014, 08:22 AM
RE: Custom PHP with Codeigniter - by sv3tli0 - 12-08-2014, 09:15 AM
RE: Custom PHP with Codeigniter - by bclinton - 12-08-2014, 09:29 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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