Welcome Guest, Not a member yet? Register   Sign In
Where do I load the PHP: program??
#1

I have loaded CodeIgniter and successfully run the "Hello World" program
so I know it works. I have a large PHP/Codeigniter application that I now
want to load. Do I load it over the directory where the CodeIgniter modules
are or do I create a subdirectory and load it there? Sorry if this is a really
basic question but I'm new at this and trying to learn on my own. Thank
you for your patience, advice and help.
Reply
#2

See http://www.codeigniter.com/user_guide/tu...index.html

What is a large PHP/Codeigniter application?
I don't get what you really want to do.
Reply
#3

Do you want to run multiple applications from one CodeIgniter installation?
Take a look at the documentation here:
http://www.codeigniter.com/userguide3/ge..._apps.html
Reply
#4

(06-24-2015, 10:36 PM)Wouter60 Wrote: Do you want to run multiple applications from one CodeIgniter installation?
Take a look at the documentation here:
http://www.codeigniter.com/userguide3/ge..._apps.html

I installed CodeIgniter and loaded the "Hello Worlk" Blog.php program into
the applications/controller directory so I'm prettu sure it's all set up ok. What
I was trying to find out is - if the single application that I want to run (it has
an applications/controller directory also, etc. ) should be copied over the existing
CI applications/controller directory - possibly replacing files in it - or should it go
in a separate directory tree elsewhere?  Sorry I was vague on what I was asking,
I'm new at all this. Thank you.
Reply
#5

Hi Buckeye.
There is more to an application than just the controllers folder. In most cases you need to copy all files from the application folder into your CI application folder. This will replace some (or many) files in:
  • application\config\
  • application\controllers\
  • application\helpers\
  • application\language\
  • application\libraries\
  • application\models\
  • application\views\
Most applications also rely on 'assets' like css stylescripts and javascripts. You will most likely find these in an assets folders with subfolders:
  • assets\css
  • assets\js
  • assets\images
  • etc.
And it's almost unthinkable that the application would work without a database connection. So you will also have to setup that.
Reply
#6

Thank you! That's exactly what I needed to know. I really appreciate your reply!
I have the mysql database set up and have the connection parameters defined.
So, I think I'm almost ready to try it. All I have to do is find the php module where
I need to plug them in. Thanks again for your help!!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB