Welcome Guest, Not a member yet? Register   Sign In
Simple ajax call page??
#5

[eluser]mcr_rm[/eluser]
The first thing you commented out only stops people viewing the file directly if you have it in a public folder however it's not essential. Secondly I would put the constructor back in so you get the full methods from the base controller loaded.

If you don't have php 5 (for construct)

then use

Code:
public function ajax()
    {
        parent::Controller();
}

before your index function.

Anyways glad it's sorted for you!


Messages In This Thread
Simple ajax call page?? - by El Forum - 01-13-2010, 02:46 PM
Simple ajax call page?? - by El Forum - 01-13-2010, 03:42 PM
Simple ajax call page?? - by El Forum - 01-13-2010, 03:52 PM
Simple ajax call page?? - by El Forum - 01-14-2010, 04:59 AM
Simple ajax call page?? - by El Forum - 01-14-2010, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB