Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Simple sub-directory pages
Post: RE: Simple sub-directory pages

I know in CI, we don't refer to directly .php file, I was just saying that I couldn't access that page. and yeah your solution still not working. Can you check again please, thanks for the help
8,601 Views
8 Replies
02-25-2017, 06:02 AM
raydvard
    Thread: Simple sub-directory pages
Post: RE: Simple sub-directory pages

It's not working when I am trying to access http://localhost/mysite/hosting/web-hosting.php It says not found !
8,601 Views
8 Replies
02-25-2017, 04:06 AM
raydvard
    Thread: Simple sub-directory pages
Post: RE: Simple sub-directory pages

I have done this by doing something like : Code: -- public function view($page = 'home'){        if(!file_exists(APPPATH.'views/pages/'.$page.'.php')){          show_404();        }   ...
8,601 Views
8 Replies
02-25-2017, 12:07 AM
raydvard
    Thread: Simple sub-directory pages
Post: Simple sub-directory pages

Hello, As I am a beginer with CI, I am having a issue by defining sub pages which are in the sub folders. What I want : Directory should be like : application/views/pages/hosting/hosting-about.php ...
8,601 Views
8 Replies
02-24-2017, 06:36 AM
raydvard

Theme © iAndrew 2016 - Forum software by © MyBB