”kohana“ 的搜索结果

     If i try to connect on localhost with xampp to db on kohana (3.1.2), i get this error: <p><strong>Database_Exception [ 0 ]: ~ MODPATH\database\classes\kohana\database\mysql.php [ 67 ]</strong></p> ...

     上面的那篇文章中,已经详细的描述了如何进行kohana的配置 但是,还有一点不明却,就是关于URL重写。 如果按照上面的指导配置完,然后通过http://hostname/basename/controllername/actionname是无法访问到我们写...

     echo Request::factory() ->execute() ->send_headers() ->body(); /* 1.Request::factory() 通过request类来获取基本参数$_SERVER和uri 同时new Request();得到new Request_Client_Internal()或new ...

Kohana 3.3表结构

标签:   kohana  php

     <p>I have a simple crud application in Kohana 3.3, with a few different types of data or models. Let’s say those models are: <li>Users <li>Locations <li>Skills <p>I have a table for each of those...

     kohana中文社区找不到什么有用的资料去学习KOHANA框架了,今天在KOHANA官方网站学习了一下,整理了这篇博客,都是英文的。kohana框架根据官方网站翻译的增删改查,非常完整。希望对你有帮助。

     <p>i have a little problem with creating an image and writing a text on it in Kohana. My code works fine if i use a simple php, but i can't integrat it in Kohana framework controller and action. when ...

      Kohana起源于Codeigniter(CI),CI是EllisLab的开源作品。他们有很多相似的地方,但是Kohana的所有代码是重新编写或完全改写了。你可以访问Kohana的官方网站, 它的主要特点如下:高安全性很轻巧容易学习使用MVC模式...

     <p>I am very new trying some kohana code and encountering first problem already :( <p>just to make it quick this is my model <pre><code><?php class Model_Post extends ORM { } </code></pre> <p>...

     Kohana是由社区构想,讨论,及编码。Kohana的开发者们来自世界各地,有着各自的天赋。这使得开发速度得以提高,并在短时间内提供bug修复以及反馈用户提出的建议。 3、GET,POST,COOKIE,SESSION数组都能按照预期的...

Kohana URL(分段)

标签:   kohana  php

     <p>On Kohana 2.3.4 I use the query string for parameters and use the input class to get the values. <p>localhost/home?id=1234 <p>Now that I migrated to Kohana 3.3.0, I am having a lot of trouble ...

     1、控制器使用: Controller 1、接受参数 $this->request->param("key"); //返回的是route路由里定义胡参数befpre() Arr::get($_GET,'key'); //获取的是GET作用于里key对应的值 ...$th...

     路由是Kohana中的难点之一: 前面知道:Controller::rediect("welcome/index");会访问控制器 welcome的index函数 其实它的原理就是 :  页面发出对控制器index函数的请求;  找到当前使用匹配的路由;  按...

     http://www.cnblogs.com/liushannet/archive/2010/08/19/1803209.html Cookie使用: <?php echo Cookie::salt("abc ","def ");#得到保存到客户端的字符 ......

     Kohana框架: $event_id = Arr::get($_GET, 'event_id'); $sql = 'SELECT CheckIn.BuildingID, CheckIn.buildingname, CheckIn.RoomID, CheckIn.RoomName, CheckIn.NumberofPeople, CheckIn.checkinTime, User.Fir

     kohana 3.3版本和smarty整合方法下载smart模板kohana配置smarty创建公共模板类控制器中引用smart创建视图文件 下载smart模板 到smarty官网下载核心程序 smarty-3.1.32版本,此处kohana用的是3.3版本 ...

     <p>I have setup a new Kohana project which works fine with Models and Controllers. For this example I have stripped it right back to a single very basic Model for a User and a single Controller with a...

     <pre><code>Kohana::init(array( 'base_url' => '/wypoczynek/', 'index_file' => false, )); Route::set('default', '(<controller>(/<action>(/<id>)))') ->defaults(array( '...

     <p>I have a Kohana application running in the web root and everything is working fine. But when I try to add a subfolder to the root with non-kohana PHP code, I can't access it. Kohana still tries to ...

     一.导入 ini_set('memory_limit', '512M'); require_once(Kohana::find_file('vendor', 'PHPExcel/PHPExcel/IOFactory')); $xls = $_FILES['xls']['tmp_name']; $error_msgs = array(); ...

     <p>I am having problems using Kohana3. <p>Currently on development we use port 444 for https. </p> <p>If I redirect while I am on <pre><code>https://localhost:444 $this->request->redirect...

10  
9  
8  
7  
6  
5  
4  
3  
2  
1