二开/定制/使用解答专家 直接连接到Home.php?/dayrui/App/Ceishi/Controllers/Home.php这样会报错。Fatal error: Uncaught Error: Class 'Phpcmf\Common' not found in //dayrui/App/Ceishi/Controllers/Home.php:3 Stack trace: #0 {main} thrown in /dayrui/App/Ceishi/Controllers/Home.php on line 3 控制器里的代码如下:<?php namespace Phpcmf\Controllers;class Home extends \Phpcmf\Common{ public function index() {
<form action="" method="post">
<input type="text" id="ceshi" name="ceshi" />
</form>这里的action如何写?怎么提交到控制器dayrui/App/Ceishi/Controllers/Home.php
控制器里的代码如下:<?php namespace Phpcmf\Controllers;class Home extends \Phpcmf\Common{ public function index() {