At the moment I think about login script. Idea - when you submit login and password, they checks into model and if login and password is correct, script shows a message about completed login process.
Well, i guess there are some ways to gzip html. Add ob_start(\'ob_gzhandler\'); 开发者_开发知识库to index.php or in the main app controller. But i hope there is a better solution. In addition i want i
Trying to use the Simple HTM开发者_Python百科L Dom Parser in my application. Placed the sample function of scraping_slashdot() into a controller.
class Model_Category extends ORM { protected $_has_many = array( \'film\' => array(\'through\' => \'films_categories\')
I am trying to add the error messages to my validation object. It says that errors is not a method of Validation_Exception. That I know... The thing is that I though the $e variable would be the inst
I can\'t make to Config_Database work. I\'m enabling new Config Source that way: Kohana::$config->attach(new Config_Database, FALSE);
Edit I\'ve added a github repostitory of my /application directory. https://github.com/ashleyconnor/Egotist
How can I re-rout execution to another controller开发者_开发技巧/action in Kohana PHP framework, w/o redirecting.if you using default routing you can do this:
For some reason I cannot get开发者_StackOverflow社区 kohana to log my custom errors. Here is the code:
I\'m trying to email in Kohana using SwiftMailer but keep coming across an error about an array to string conversion.