How i can executed my controller in the url |
Hey,
i have choosing today the way to coding with CodeIgniter. So i'm a newbie in frameworks, but the framework looks not so hard. I have tried the first Tutorial "static page". Now if i want to call the site in the url i get everytime the error, that this site doesn't exist. I don't know why this is. A url looks after the tutorialsite so : /[controller-method]/[arguments]http://example.com/[controller-class]/[controller-method]/[arguments] I executed all at xampp local. And if i executed it like this i get everytime the error. My Path to the framework folder is this :http://localhost/php/frameworks/codeigniter/ Now if i want to executing my controller with the method the url must be like this: http://localhost/php/frameworks/codeigniter/pages/view But if i load this url i get everytime the error, that this object can't get found. The Code is: PHP Code: <?php My 2 view-datas looks so: header.php PHP Code: <!DOCTYPE html> footer.php PHP Code: <p>copyright @stef</p> Hope you can help me. Stef |
Messages In This Thread |
How i can executed my controller in the url - by Stef - 12-08-2017, 03:55 AM
RE: How i can executed my controller in the url - by Stef - 12-09-2017, 03:02 AM
RE: How i can executed my controller in the url - by InsiteFX - 12-09-2017, 05:04 AM
|