[eluser]Chris Williams[/eluser]
This works just fine on my server, but my ISP gives me a 404.
Here's what I'm using currently:
Code:
<?php
class Image extends Controller {
function Image()
{
parent::Controller();
$this->load->helper('url');
}
function index()
{
$a = $this->uri->segment(3);
$b = $this->uri->segment(4);
echo $a;
echo $b;
}
function view()
{
$a = $this->uri->segment(3);
$b = $this->uri->segment(4);
echo $a;
echo $b;
}
}
Index and view are the same functions just for testing purposes.
This url works:
/index.php/image/index/2/f
but this one doesn't:
/index.php/image/view/2/f
In my log file, it says "404 Page Not Found --> image/view"
My would this work on my machine and not on my website?