Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Toolbar on error pages
Post: Toolbar on error pages

Why doesn't the debug toolbar show up on error pages (like 404, 403)?
323 Views
0 Replies
01-15-2023, 01:22 PM
Elias
    Thread: CodeIgniter 3.1.9 released
Post: RE: CodeIgniter 3.1.9 released

Thank you CI team!
106,871 Views
49 Replies
06-16-2018, 12:36 AM
Elias
    Thread: Add a function to the array helper
Post: RE: Add a function to the array helper

InsiteFX Wrote: (03-30-2018, 12:48 PM) -- You can add it yourself. Just create a MY_array_helper.php and add your method to it. -- Yes, I understand it. But I think that this function can be hel...
3,935 Views
3 Replies
03-30-2018, 01:04 PM
Elias
  Lightbulb Thread: Add a function to the array helper
Post: Add a function to the array helper

Hello CI team and community! How about add a function to the array helper? PHP Code: -- if ( ! function_exists('array_combine_different')) { /** * Array Combine Different * * Return...
3,935 Views
3 Replies
03-30-2018, 12:20 PM
Elias
    Thread: CodeIgniter 3.1.8 Released
Post: RE: CodeIgniter 3.1.8 Released

Thank you!
86,516 Views
40 Replies
03-23-2018, 12:40 PM
Elias
    Thread: [Snippet] Switch language with URL
Post: RE: [Snippet] Switch language with URL

It's a good solution! Thank you for that!
18,508 Views
7 Replies
03-21-2018, 09:30 AM
Elias
    Thread: Upload multiple files
Post: RE: Upload multiple files

Narf Wrote: (02-14-2018, 11:18 AM) -- 2. Pass 'user[photo]' instead of 'user' ... -- Ok, in my controller I do this: PHP Code: -- $uploaded = []; for($i = 0; $i < 3; $i++) { if ( $this->upl...
6,398 Views
3 Replies
02-21-2018, 10:59 AM
Elias
    Thread: form_validation.php in config and conditional validation rules
Post: RE: form_validation.php in config and conditional ...

webmachine Wrote: (01-30-2018, 09:42 AM) -- I have made a CRM in CodeIgniter that I am working on improving, and want to move all the form validation rules to a form_validation.php file in the config...
10,575 Views
10 Replies
02-17-2018, 02:59 AM
Elias
    Thread: XSS replaces in the documentation
Post: RE: XSS replaces in the documentation

Narf Wrote: (02-14-2018, 11:28 AM) -- Anything that has an 'src' attribute can link external resources and trigger their execution, and thus - XSS. -- Ok, string Code: -- -- has src and xss_clean...
14,123 Views
12 Replies
02-15-2018, 08:01 AM
Elias
    Thread: Redirect Problem
Post: RE: Redirect Problem

Add a trailing slash: $config['base_url'] = 'http://vc-rp.net/';
4,576 Views
6 Replies
02-15-2018, 07:37 AM
Elias
    Thread: Upload multiple files
Post: Upload multiple files

Hi, I want to do upload multiple files and  I can do this in cycle. But first I looked source code of Upload library and found the part (https://github.com/bcit-ci/CodeIgniter/blob/develop/system/li...
6,398 Views
3 Replies
02-13-2018, 06:09 AM
Elias
    Thread: XSS replaces in the documentation
Post: RE: XSS replaces in the documentation

Narf Wrote: (02-12-2018, 06:24 AM) -- Not a bug. -- Why? Tags like or not replaces... What's a normal input string for xss_clean() ? Thanks for answers :)
14,123 Views
12 Replies
02-12-2018, 07:21 AM
Elias
    Thread: One login for many codeigniter webapps?
Post: RE: One login for many codeigniter webapps?

Use one Redis or Memcached server for storage user sessions and just connect to it on all your sites.
4,888 Views
2 Replies
02-12-2018, 02:37 AM
Elias
    Thread: XSS replaces in the documentation
Post: RE: XSS replaces in the documentation

I want to filter a part of output HTML code thats contains user data (link to a video file). I do not filter all output through xss_clean, just tag. I do this because filtering only link not clea...
14,123 Views
12 Replies
02-11-2018, 09:57 AM
Elias
    Thread: XSS replaces in the documentation
Post: RE: XSS replaces in the documentation

And as it seems to me, I found a bug in xss_clean() function/method: xss_clean() translates Code: -- -- to Code: -- <video poster="http://vseprosto.top/wp-content/uploads/2016/10/CodeIgniter-...
14,123 Views
12 Replies
02-10-2018, 12:46 PM
Elias
    Thread: form_validation.php in config and conditional validation rules
Post: RE: form_validation.php in config and conditional ...

1st option: Callback documentation https://codeigniter.com/user_guide/libraries/form_validation.html#callbacks-your-own-validation-methods 2nd option: Create config, load that and get item of that ht...
10,575 Views
10 Replies
02-02-2018, 11:35 PM
Elias
    Thread: form_validation.php in config and conditional validation rules
Post: RE: form_validation.php in config and conditional ...

You can move simple part of validation rules definitions to config and in controller getting this config item and do array_merge with hard validations rules. Or you can hold custom validations methods...
10,575 Views
10 Replies
02-02-2018, 12:26 PM
Elias
    Thread: XSS replaces in the documentation
Post: XSS replaces in the documentation

Hello! I see that in the documentation (for example https://www.codeigniter.com/user_guide/helpers/url_helper.html ) some http:// are replaced to http & # 5 8 ; // (without spaces) Is it normal? Tha...
14,123 Views
12 Replies
02-02-2018, 11:57 AM
Elias
    Thread: Select Query remove space automatically
Post: RE: Select Query remove space automatically

Martin7483 Wrote: (02-01-2018, 08:35 AM) -- Elias Wrote: (02-01-2018, 08:26 AM) -- Hi! You need to pass table name to select() method. Table name can't contents spaces. Look at this https://ww...
6,922 Views
5 Replies
02-01-2018, 11:05 AM
Elias
    Thread: Processing forms - redirecting/passing to controllers
Post: RE: Processing forms - redirecting/passing to cont...

Hello! You can check passing 'submit' to index() method. If form was submitted, value of submit button will be passed to your controller.
3,070 Views
1 Replies
02-01-2018, 08:31 AM
Elias

Theme © iAndrew 2016 - Forum software by © MyBB