Welcome Guest, Not a member yet? Register   Sign In
Not seeing function
#1

[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?


Messages In This Thread
Not seeing function - by El Forum - 06-16-2008, 06:30 PM
Not seeing function - by El Forum - 06-16-2008, 07:25 PM
Not seeing function - by El Forum - 06-17-2008, 05:11 AM
Not seeing function - by El Forum - 06-17-2008, 06:27 AM
Not seeing function - by El Forum - 06-17-2008, 06:42 AM
Not seeing function - by El Forum - 06-17-2008, 06:45 AM
Not seeing function - by El Forum - 06-17-2008, 06:48 AM
Not seeing function - by El Forum - 06-17-2008, 06:55 AM
Not seeing function - by El Forum - 06-17-2008, 06:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB