level 7
我是php初学都,我想知道thinkphp开发时,我在html是这样写的<form action="__URL__/upload" method="post" enctype="multipart/form-data" name="uploadfile"> 我在index.class.php上写一个public function upload(){} 我想知道他是如何识别index.class.php里面的upload()就是用来处理这个<form>的action啊 我对这里一起不明白,那位大神帮下忙。。。
2013年08月09日 09点08分
1
level 4
把index.class.php改成indexAction.class.php首先里面要写class indexAction extends Action 要继承一个ACTION类还有你有入口文件吗
2013年09月06日 02点09分
2