![]() |
code not accessable directly - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: code not accessable directly (/showthread.php?tid=11829) |
code not accessable directly - El Forum - 09-24-2008 [eluser]Programming Life[/eluser] i am new in this framework firstly i have downloaded the framework and unzip it and after that i have put that folder in my web root folder and that is www. so after that i have create file in www folder then i use the table class then error occures that code direct access not allowed what is that mean?? code not accessable directly - El Forum - 09-24-2008 [eluser]Colin Williams[/eluser] You likely aren't even using the framework properly (doesn't sound like you've even created a controller, or even loaded the proper class, or are even initiating the framework through the front controller). You need, first, and understanding of the PHP language and fundamental programming. Then, read through the User Guide and watch the screencasts. code not accessable directly - El Forum - 09-24-2008 [eluser]Developer13[/eluser] paro - It seems like you are trying to access a file other than the index.php front controller. If you point your browser to the folder which CodeIgniter is stored in (probably a subfolder of your WWW root), you should see the CodeIgniter welcome message. Your web browser *always* needs to access the index.php file and not a library file, helper file, etc. As Colin stated, please read the user guide for the basics of how to get CI up and running. code not accessable directly - El Forum - 09-25-2008 [eluser]Derek Allard[/eluser] Welcome to CI! We're glad to have you. I've moved this into a forum that I think will get more visibility for you, but I agree with the above sentiments... take a moment to read the userguide and watch the videos, I think it'll make more sense for you. |