Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Cache-Control header always prepend "no-store, no-cache, must-revalidate"
Post: RE: Cache-Control header always prepend "no-store,...

I write code in app/Common.php Before init CI
955 Views
8 Replies
03-01-2024, 10:25 PM
ozornick
    Thread: Add change view folder for VIew
Post: RE: Add change view folder for VIew

Fine. then let's not waste time on this. I have nothing to add except what I have said.
820 Views
14 Replies
02-14-2024, 11:58 PM
ozornick
    Thread: Add change view folder for VIew
Post: RE: Add change view folder for VIew

That's what I want to change. I think the variable in the name is superfluous. This means that it is preferable to change this value somewhere in one place.
820 Views
14 Replies
02-14-2024, 09:26 PM
ozornick
    Thread: Add change view folder for VIew
Post: RE: Add change view folder for VIew

I wanted to change the theme for the user. The standard replacement in the controller method looks like a repeat. There is no other way to change the subject. To put it more simply, we need dynamic pa...
820 Views
14 Replies
02-12-2024, 01:31 PM
ozornick
    Thread: array_duplicate_by() helper to get duplicate array by column
Post: RE: array_duplicate_by() helper to get duplicate a...

I've never had to look for duplicates
415 Views
4 Replies
02-04-2024, 12:23 AM
ozornick
    Thread: v4.4.4 download not working, v4.1.1 does work
Post: RE: v4.4.4 download not working, v4.1.1 does work

Errors in apache logs or writable/logs?
180 Views
2 Replies
01-30-2024, 12:53 PM
ozornick
    Thread: v4.4.5 bug fix released
Post: RE: v4.4.5 bug fix released

Good work! Thanks :cool:
2,005 Views
8 Replies
01-27-2024, 12:42 AM
ozornick
    Thread: Remove blank line when render view in CI4
Post: RE: Remove blank line when render view in CI4

Replace echo: PHP Code: -- echo ''; -- PHP Code: --
326 Views
5 Replies
01-25-2024, 03:21 AM
ozornick
    Thread: CSRF token expired when page is left open
Post: RE: CSRF token expired when page is left open

I don't remember, but it will refresh the page and may reset the entered data. Tried.
512 Views
6 Replies
01-10-2024, 12:42 PM
ozornick
    Thread: CSRF token expired when page is left open
Post: RE: CSRF token expired when page is left open

Disable regenerate tokens https://codeigniter4.github.io/userguide/libraries/security.html#token-regeneration
512 Views
6 Replies
01-09-2024, 11:40 PM
ozornick
    Thread: Is there a way to get the current method arguments?
Post: RE: Is there a way to get the current method argum...

See function if ( url_is('about*') ) ...
378 Views
4 Replies
01-06-2024, 11:13 AM
ozornick
    Thread: Is there a way to get the current method arguments?
Post: RE: Is there a way to get the current method argum...

Try URI object? site.com/profile/103 See segments array PHP Code: -- $this->request->getUri()->getSegments() -- Code: -- array:2 [▼   0 => "profile"   1 => "105" ] -- Code: -- CodeIgniter...
378 Views
4 Replies
01-04-2024, 09:56 AM
ozornick
    Thread: SEO friendly search filter using segment
Post: RE: SEO friendly search filter using segment

SEO friendly :) URL without query string
282 Views
4 Replies
01-03-2024, 01:33 PM
ozornick
    Thread: When autoloading files, variables are not visible in the general scope
Post: RE: When autoloading files, variables are not visi...

https://github.com/codeigniter4/CodeIgniter4/blob/69fc51f0bbf0a16d0caa4d19162985414d5670d0/system/Autoloader/Autoloader.php#L309 Include files ONCE, may be here problem.
323 Views
6 Replies
01-03-2024, 11:38 AM
ozornick
    Thread: When autoloading files, variables are not visible in the general scope
Post: RE: When autoloading files, variables are not visi...

Try write code in app/Common.php.  He load before controller
323 Views
6 Replies
01-03-2024, 11:01 AM
ozornick
    Thread: SEO friendly search filter using segment
Post: RE: SEO friendly search filter using segment

You can't make different options for the same router. One solution would be to insert replace as ALL PHP Code: -- $routes->get('filter/(:segment)/all_cities/(:segment)' , 'Home::filter/$1/all_citie...
282 Views
4 Replies
01-03-2024, 10:43 AM
ozornick
    Thread: CodeIgniter: the last year
Post: RE: CodeIgniter: the last year

@"kilishan" Thanks for the support. I think one day more people will be interested in the framework
4,110 Views
12 Replies
01-03-2024, 10:34 AM
ozornick
    Thread: Efficient Ways to Learn CodeIgniter 3 for Beginners
Post: RE: Efficient Ways to Learn CodeIgniter 3 for Begi...

I recommend switching to version 4. You will be too far behind if you start learning CI 3
224 Views
2 Replies
01-03-2024, 10:31 AM
ozornick
    Thread: Seeking Recommendations for a User-Friendly Framework with Account Management
Post: RE: Seeking Recommendations for a User-Friendly Fr...

Easy and small? Slim 4  :cool:
210 Views
1 Replies
01-03-2024, 10:28 AM
ozornick
    Thread: When autoloading files, variables are not visible in the general scope
Post: RE: When autoloading files, variables are not visi...

Yes, there is such a problem. I can only get a variable from a file main.php But the init.php file is loaded 100%
323 Views
6 Replies
01-03-2024, 10:25 AM
ozornick

Theme © iAndrew 2016 - Forum software by © MyBB