上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 28 下一页
该文被密码保护。 阅读全文
posted @ 2020-03-31 14:03 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-27 13:51 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-27 13:34 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-25 14:49 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-25 13:22 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-24 12:49 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-23 16:04 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-23 10:54 像一棵海草海草海草 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-20 15:52 像一棵海草海草海草 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-20 13:21 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 一、输入SE80 二、选择包,再查下Z* 三、可以看到,查下出来的包 四、可以看到我们想要的内容了 阅读全文
posted @ 2020-03-19 12:57 像一棵海草海草海草 阅读(1260) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-19 09:42 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-18 12:34 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-18 09:31 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-18 08:49 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-18 08:46 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-11 14:57 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-06 17:15 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-06 16:47 像一棵海草海草海草 阅读(36) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-06 10:16 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-05 17:35 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-05 12:43 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 01.我们在控制器中,新建一个数据库的操作方法,具体代码如下: <?php namespace App\Controllers; // http://127.0.0.1/CI4/public/index.php/home/getdata class Home extends BaseControll 阅读全文
posted @ 2020-03-04 19:37 像一棵海草海草海草 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: 01.我们在App/Filters目录中创建一个Throttle.php文件,其中写的是1分钟内只能访问10次,如果超出了1秒才能访问一次,代码如下: <?php namespace App\Filters; use CodeIgniter\Filters\FilterInterface; use 阅读全文
posted @ 2020-03-04 16:43 像一棵海草海草海草 阅读(885) 评论(0) 推荐(0) 编辑
摘要: 01.我们在控制器中,写入调用系统自带的加密类处理方法,代码如下: <?php namespace App\Controllers; class Hello extends BaseController { //http://127.0.0.1/CI4/public/index.php/hello/ 阅读全文
posted @ 2020-03-04 11:19 像一棵海草海草海草 阅读(555) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-03 17:03 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-03 14:34 像一棵海草海草海草 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-03-03 08:50 像一棵海草海草海草 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 01.在View中创建一个upfile.php,作为上传文件的前端,代码如下: <!doctype html> <html> <head> <title>10年CI一场梦</title> </head> <body> <form action="<?php echo $POST_URL ?>" me 阅读全文
posted @ 2020-03-01 23:57 像一棵海草海草海草 阅读(865) 评论(0) 推荐(0) 编辑
摘要: 01.我们在View目录中,创建一个登陆的php网页,代码如下: <!doctype html> <html> <head> <title>10年CI一场梦</title> </head> <body> <form action="<?php echo $POST_URL; ?>" method=" 阅读全文
posted @ 2020-03-01 22:02 像一棵海草海草海草 阅读(997) 评论(0) 推荐(0) 编辑
摘要: 01.我们在View目录中,创建一个登陆的php网页,代码如下: <!doctype html> <html> <head> <title>10年CI一场梦</title> </head> <body> <form action="<?php echo $POST_URL; ?>" method=" 阅读全文
posted @ 2020-03-01 19:27 像一棵海草海草海草 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 01.我们在ThirdParty中创建一个自定义的M有Class.php类代码如下: <?php //命名控件 namespace App\ThirdParty; //自己定义一个Controller001类,继承自CI的控制器 class MyClass extends \CodeIgniter\ 阅读全文
posted @ 2020-03-01 18:13 像一棵海草海草海草 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 01.CI4框架中,内置了一些路径常量,我们可以很方便的使用到,这些常量如下: <?php namespace App\Controllers; //use Tianpan ; // http://127.0.0.1/CI4/public/index.php/hello/ class Hello e 阅读全文
posted @ 2020-03-01 18:00 像一棵海草海草海草 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 01.我们在控制器中添加一个Hello.php的控制器,代码如下; <?php namespace App\Controllers; // http://127.0.0.1/CI4/public/index.php/hello/ class Hello extends BaseController 阅读全文
posted @ 2020-03-01 13:55 像一棵海草海草海草 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 01. PHP的CI4框架自带了很多好用的URL辅助函数,我选择了以下这些比较常用的列了出来,代码如下: <?php namespace App\Controllers; // http://127.0.0.1/CI4/public/index.php/hello/ class Hello exte 阅读全文
posted @ 2020-02-29 23:24 像一棵海草海草海草 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 01. 在CI4的工程目录中,创建一个files目录,并在里面放入js或者css或者图片文件,如图所示 02. 在我们的app的Controllers中,创建一个Hello的控制器,代码如下: <?php namespace App\Controllers; // http://127.0.0.1/ 阅读全文
posted @ 2020-02-29 21:48 像一棵海草海草海草 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 01.我们在BaseController.php控制器中加载Cookie辅助函数,后续在其他继承BaseController的类中都能使用cookie了 protected $helpers = ['cookie']; 02.我们创建一个类,用来设置,读取,删除Cookie,代码如下: <?php 阅读全文
posted @ 2020-02-29 15:01 像一棵海草海草海草 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 01.我们新建一个和app同级的目录,并在里面创建一个控制器,代码如下: <?php namespace tianpan\Controllers; class MyController extends \CodeIgniter\Controller { public function show() 阅读全文
posted @ 2020-02-28 23:13 像一棵海草海草海草 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 01.在BaseController.php中添加一下代码,如图所示 $this->session = \Config\Services::session(); 02.在Home.php文件中,写入session的创建如下代码: <?php namespace App\Controllers; cl 阅读全文
posted @ 2020-02-28 22:20 像一棵海草海草海草 阅读(855) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 28 下一页