is definitely not correct. This should be a list of input pretreater methods, like 'htmlentities' is defined for the url_filter.
The standard practice is not to filter on input (as it will potentionally alter the input values), but encode on output (which is activated by default), so by default the input filter in an empty array.
thanks so much Harro Verton for the comment, really useful.
my config.php is located in fuel/app/config/, not in /core/config/. i do so, bcoz i follow what is in fuel documentation, or may be im wrong, but, btw, what's different between config.php in app/config/ folder and core/config/ folder??
bcoz in CI, i just edit 1 config.php file in application/config/config.php,
But for every config file, there's one in fuel/core/config that contains all default values. When the config is loaded, both are loaded and merged so you only have to specify the changes in the app file.
Fuel works this way so that when you upgrade to a newer version, you don't have to go changing stuff in your application.
Which in CI you have to do when they introduce something new (which they haven't done in donkeys years, but that's another story).
okay Harro Verton, but it still don't display my data, i dont know where is my wrong located.
now, i've just copy all the default config in /core/config n paste them in app/config, n it works,
but, there' one thing i confuse about, after i copy paste the config array, in 'index_file' section, it said, if i dont use URL rewriting, just give it 'index.php', so i change become 'index_file' => 'index.php', n try to input my data again n i doesn't work,
The 'index_file' configuration key is only relevant for the generation of URI's using the Uri::create() method, it isn't used elsewhere.
In your original post, you used
echo Form::open('input/company/getData');
which will use Uri::create() to create the form's action URL. It will use both the base_url from your config and the defined index file to generate this URL.
If this generates an incorrect URL, you will get a 404 when you try to submit the form. It the submit of the form correctly loads the getData method, then the URL was ok, and so was your config.
So perhaps it's time you say exactly what "doesn't work" means to you, what exactly happens...
I've tried to do what you've provided here and it work fine.
So, what do you mean it doesn't work?
Showing 404 Page not found? the input value cannot display? or what?
Since you don't have much info in route.php, so, have you created a folder 'input' in app/classes/controller and a file 'company.php' in the input folder?
i dont know exactly the error, but i reinstall my app with the new fuelphp master file, n i try it again, the config file, just like Harro Verton said, n it work well! hm.. may be i missing some in unknown file. :)