且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CodeIgniter的表单操作无法正常工作

更新时间:2023-11-19 18:32:10

经过长时间的讨论,以下是解决方案:

So after a long discussion, here is the solution :

在您的htaccess中,您必须更改

In your htaccess, you had to change

将RewriteBase / CI / 转换为 RewriteBase / CI_Practice2

此外,也许你必须用MAMP(也许不能)这样做。

Also, maybe you have to do this with MAMP (Maybe not)

localhost:8080 / CI_Practice2

localhost:8080/CI_Practice2

这是如果你没有更改MAMP的默认端口。

It's if you didn't change the defaults ports of MAMP.

有一个愉快的一天