URI routing - 3 segment |
[eluser]Unknown[/eluser]
My code: htaccess Code: RewriteEngine on config.php Code: $config['index_page'] = 'index.php'; routes.php Code: $route['file-(:num)'] = 'file/czyt/$1'; file: file.php method: czyt Code: public function czyt() when i take a request: http://localhost/frame/file-123 i give a blank page with no echo data ?? HOW can i read the data from third segment ? Ofcourse when i run http://localhost/frame/file/czyt/123 i had the 123 in my echo statment |
Welcome Guest, Not a member yet? Register Sign In |