Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter4-translations
Post: RE: CodeIgniter4-translations

As usual, the contributors will use develop branch, right? I see the repository only contains master branch.
12,681 Views
16 Replies
09-28-2018, 04:20 PM
ridho
    Thread: how to call my own validation methods?
Post: RE: how to call my own validation methods?

See https://bcit-ci.github.io/CodeIgniter4/libraries/validation.html#creating-custom-rules
3,325 Views
2 Replies
11-24-2016, 08:53 PM
ridho
    Thread: insertID()
Post: RE: insertID()

Try this, it's working for me PHP Code: -- protected $table = 'Clients'; public function __construct() { $this->dbConn = \Config\Database::connect(); $this->managers = $this->d...
4,700 Views
3 Replies
11-19-2016, 08:03 PM
ridho
    Thread: some wrong with upload
Post: RE: some wrong with upload

I fixed this problem. The pull request https://github.com/bcit-ci/CodeIgniter4/pull/308 until now still not merged.
3,600 Views
2 Replies
11-19-2016, 07:54 PM
ridho
    Thread: Validation form
Post: RE: Validation form

superior Wrote: (11-19-2016, 05:49 PM) -- It happens when setting the following order: Firstname Username Password Passconfirm Then the lastname is skipped from the check, I did not put an...
9,263 Views
8 Replies
11-19-2016, 07:33 PM
ridho
    Thread: insertID()
Post: RE: insertID()

I think, there is no insertId() in Builder. You should use $db->insertId();
4,700 Views
3 Replies
11-19-2016, 05:19 PM
ridho
    Thread: Validation form
Post: RE: Validation form

I tested with no problem. The code PHP Code: -- if($validation->run([ 'Firstname'     => 'John', 'Lastname'      => 'Smith', 'Username'      => 'john', 'Password'      => 'pass', 'Pas...
9,263 Views
8 Replies
11-19-2016, 05:05 PM
ridho
    Thread: Validation form
Post: RE: Validation form

Please put Your controller code here, and what error that showing on the first run?
9,263 Views
8 Replies
11-19-2016, 02:36 PM
ridho
    Thread: resize the image
Post: RE: resize the image

imagecopyresamled() is native php function
3,506 Views
1 Replies
11-19-2016, 02:31 PM
ridho
    Thread: Validation form
Post: RE: Validation form

there is no "trim" validation rule in ci4
9,263 Views
8 Replies
11-19-2016, 02:20 PM
ridho
    Thread: $session set-bug?
Post: RE: $session set-bug?

Yes you can, but for what? I think, this is a bad idea for storing session data to cookie although it's encrypted. Soon, if you use $session->destroy(); If you don't like files for storing sessi...
5,313 Views
4 Replies
11-15-2016, 09:06 PM
ridho
    Thread: set_userdata is undefined in CI4
Post: RE: set_userdata is undefined in CI4

$session->set($array) in CI4
2,307 Views
1 Replies
11-15-2016, 08:43 PM
ridho
    Thread: $session set-bug?
Post: RE: $session set-bug?

It's working for me. Are you forgot to add this line? PHP Code: -- $session->start(); --
5,313 Views
4 Replies
11-15-2016, 08:40 PM
ridho
    Thread: put Validation Rules to the Config File
Post: RE: put Validation Rules to the Config File

It's working with my following controller code: PHP Code: -- public function index() {     $validation =  \Config\Services::validation();            $data=array(                'e...
4,260 Views
4 Replies
11-14-2016, 02:17 AM
ridho
    Thread: put Validation Rules to the Config File
Post: RE: put Validation Rules to the Config File

Please update to the latest ci4 development! That will solve your problem
4,260 Views
4 Replies
11-13-2016, 10:00 PM
ridho
    Thread: how to load the helper(url) automatically in CI4?
Post: RE: how to load the helper(url) automatically in C...

Load the helper on BaseController, like this: Code: -- class BaseController extends CodeIgniter\Controller {   public function __construct(...$params)   {       parent::__construct(...$pa...
12,365 Views
10 Replies
11-10-2016, 06:48 PM
ridho
    Thread: How to access server other folder
Post: RE: How to access server other folder

Try using filesystem helper
4,096 Views
3 Replies
10-19-2016, 03:27 AM
ridho
    Thread: error messages
Post: RE: error messages

change "production" to "development" in /public/index.php, you will know your problems.
8,262 Views
6 Replies
10-03-2016, 02:38 PM
ridho
    Thread: User Documentation
Post: RE: User Documentation

Michus Wrote: (08-10-2016, 05:07 PM) -- Hello! I just wanted to add a note about the user documentation. Currently CI4 docs search isn't working. If I search term "controller" or anything else it ...
18,471 Views
17 Replies
08-12-2016, 02:42 AM
ridho
    Thread: Start with V3 or proceed with V4
Post: RE: Start with V3 or proceed with V4

CI4 under active development, and can't be used in live projects. You should use CI3
2,996 Views
1 Replies
07-12-2016, 02:43 AM
ridho

Theme © iAndrew 2016 - Forum software by © MyBB