how to begin - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: how to begin (/showthread.php?tid=20000) |
how to begin - El Forum - 06-24-2009 [eluser]vang163[/eluser] Hi, i've just download & install CI. i'm using WAMP. At this directory: c:\wamp\www\CodeIgniter_1.7.1\ there is a existing file index.php, should i need to remove it? To begin my project, i should create all my php files under this directory? c:\wamp\www\CodeIgniter_1.7.1\system\application\ There is a existing file index.html, should i need to remove it? I'm now working offline as "localhost", should i need to change this value in the config.php for it to work? $config['base_url'] = "http://example.com/"; ----> "localhost" Also in the config.php, $config['enable_query_strings'] = FALSE; I've learned how to to get the value from this type of URL: example.com?who=me&what=something&where=here How can i get the value from this type of URL?: example.com/who/what/where/ When i complete my project and wish to go online, i just need to load all the files & folders in this directory? c:\wamp\www\CodeIgniter_1.7.1\system\application\ folder - config folder - controllers folder - errors folder - helpers folder - hooks folder - language folder - libraries folder - models folder - views and of course all my php files .... Is the above procedure correct? Or am i missing something... Many thanks for your patience and guidance. regards how to begin - El Forum - 06-24-2009 [eluser]User Guide[/eluser] Fortunately I have a page for someone just like you, and it's called Getting Started if you can believe that. Quote:I’m now working offline as “localhost”, should i need to change this value in the config.php for it to work? Well, not unless you have a host entry routing example.com to 127.0.0.1 Actually, the best setting for 'base_url' is "/" because it then doesn't matter what your domain is. Use something like "/folder/" if CodeIgniter is installed off the document root. Quote:How can i get the value from this type of URL?: Quote:URI Class how to begin - El Forum - 06-24-2009 [eluser]Thorpe Obazee[/eluser] Did you read the user_guide? EDIT: The User Guide beat me/ how to begin - El Forum - 06-25-2009 [eluser]vang163[/eluser] Hi, after looking around for the whole night, i have found this to be very useful in answering my questions: http://ifonlyiknewthat.com/codeigniter/setting-up-codeigniter/ and this was NOT found in the user manual. At least show the way, if too busy to answer, not answering at all is much more appreciated than replying 'have you read the user manual'. how to begin - El Forum - 06-25-2009 [eluser]Colin Williams[/eluser] That certainly is a nice primer, vang163, but what's in the user guide is 100% adequate to get you up and running. How has it sufficed for so many other people if this is not the case? Many of the questions you asked hinted at ZERO knowledge of the user guide. Did you read the User Guide before you posted? how to begin - El Forum - 06-25-2009 [eluser]vang163[/eluser] hi, I've read partially, jumping here & there to get a overall picture what CI can do and eagerly testing out at the same time. The few chapters does not help me in getting the full view. Only when i read the article at that website does help me out. i'm not a professional programmer. By reading my questions seriously, one should know that i'm a php novice and know that i've read the manual. If not, how did i know those variables in those files? Note: user manual does not means that people reading it will fully understand what it is being written. The reply was not constructive & productive at all and i find it rude to reply like that. Especially if the person is from serving this forum community service. This is not like other chit-chat forum where you can reply what you like. Community image should be taken care of if you do intend to promote the use of this software/framework even though it is free. And a forum is being setup for this purpose, to give solutions or assistance or guidance or path to solutions etc to those who seeks help, isn't it? Do consider to rewrite/add user manual in such a way that novice like me can easily understand, thanks. how to begin - El Forum - 06-25-2009 [eluser]Thorpe Obazee[/eluser] [quote author="vang163" date="1245919675"]Hi, i've just download & install CI. i'm using WAMP. At this directory: c:\wamp\www\CodeIgniter_1.7.1\ there is a existing file index.php, should i need to remove it? [/quote] Read: http://ellislab.com/codeigniter/user-guide/installation/index.html especially this part, "Normally the index.php file will be at your root" <-- means you need it there... [quote author="vang163" date="1245919675"] To begin my project, i should create all my php files under this directory? c:\wamp\www\CodeIgniter_1.7.1\system\application\ There is a existing file index.html, should i need to remove it? [/quote] Read: http://ellislab.com/codeigniter/user-guide/installation/index.html [quote author="vang163" date="1245919675"] I'm now working offline as "localhost", should i need to change this value in the config.php for it to work? $config['base_url'] = "http://example.com/"; ----> "localhost" [/quote] Code: $config['base_url'] = "http://localhost/"; [quote author="vang163" date="1245919675"] Also in the config.php, $config['enable_query_strings'] = FALSE; I've learned how to to get the value from this type of URL: example.com?who=me&what=something&where=here How can i get the value from this type of URL?: example.com/who/what/where/ [/quote] Read http://ellislab.com/codeigniter/user-guide/libraries/uri.html [quote author="vang163" date="1245919675"] When i complete my project and wish to go online, i just need to load all the files & folders in this directory? c:\wamp\www\CodeIgniter_1.7.1\system\application\ folder - config folder - controllers folder - errors folder - helpers folder - hooks folder - language folder - libraries folder - models folder - views and of course all my php files .... Is the above procedure correct? Or am i missing something... Many thanks for your patience and guidance. regards[/quote] Read: http://ellislab.com/codeigniter/user-guide/installation/index.html To answer most of your questions, I just pointed to just two pages. how to begin - El Forum - 06-25-2009 [eluser]vang163[/eluser] Hi, no offense, many thanks for your patience & guidance regards how to begin - El Forum - 06-25-2009 [eluser]Thorpe Obazee[/eluser] No problem, but I believe you should have tried a CI setup in the same time reading the user_guide before asking those questions. |