Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Codeigniter mentioned in Kinsta video
Post: RE: Codeigniter mentioned in Kinsta video

@php_rocs, https://fuelphp.com/security-advisories I’m surprised the above framework was mentioned.
66 Views
2 Replies
3 hours ago
John_Betong
    Thread: Using variables as the controller name for routes
Post: RE: Using variables as the controller name for rou...

@eril46, https://codeigniter.com/user_guide/incoming/controllers.html Quote: -- Important Controller class names MUST start with an uppercase letter and ONLY the first character can be uppercase....
723 Views
11 Replies
07-16-2021, 04:22 AM
John_Betong
    Thread: creating a delay
Post: RE: creating a delay

@richb201, Have you tried saving the report results to a web page and a link to the latter which should render a lot quicker?
711 Views
13 Replies
07-08-2021, 05:55 PM
John_Betong
    Thread: birds eye view of Codeigniter
Post: RE: birds eye view of Codeigniter

@captain-sensible, I agree and wish more time is spent developing common useful utilities rather than rewriting existing PHP functionality such as error reporting and sessions. Both PHP Native functi...
400 Views
5 Replies
07-07-2021, 11:00 PM
John_Betong
    Thread: Global view variables
Post: RE: Global view variables

@forumz. This post is the way I manage Global variables: https://forum.codeigniter.com/thread-79506-post-387986.html#pid387986
302 Views
3 Replies
07-04-2021, 10:41 PM
John_Betong
    Thread: Anybody in favour of using PHP error reporting instead of Kint?
Post: RE: Anybody in favour of using PHP error reporting...

Further improvements to the Original Post #1... modified the following: File:  ./app/Config/Boot/production.php
449 Views
3 Replies
06-27-2021, 11:51 PM
John_Betong
    Thread: Anybody in favour of using PHP error reporting instead of Kint?
Post: RE: Anybody in favour of using PHP error reporting...

paulbalandan Wrote: (06-26-2021, 10:42 AM) -- As far as I know that is not Kint. Kint only powers a handful of global functions like `dd()` and `trace()`. -- I searched for "Kint" in the System fol...
449 Views
3 Replies
06-27-2021, 12:31 AM
John_Betong
    Thread: I have to run some condition in every controller
Post: RE: I have to run some condition in every controll...

Hi @mostafiz80 and a warm welcome to the forums. I have similar problems which I resolve by ensuring all Controllers extend BaseController: PHP Code: -- class C_home extends BaseController -- ...
530 Views
7 Replies
06-25-2021, 10:32 PM
John_Betong
    Thread: Anybody in favour of using PHP error reporting instead of Kint?
Post: Anybody in favour of using PHP error reporting ins...

I find Kint supplies a vast amount of inconsequential data and that PHP default error reporting is far better.  Reason is that PHP stops on the first error, gives the file name and line number which i...
449 Views
3 Replies
06-25-2021, 10:21 PM
John_Betong
    Thread: trying to run function just once
Post: RE: trying to run function just once

I use native PHP session_start() which is called in app/Controllers/BaseController.php Once called $_SESSIONS remain active all the time a user is logged in and the session is dropped (I think when a...
1,030 Views
21 Replies
06-22-2021, 08:14 PM
John_Betong
    Thread: trying to run function just once
Post: RE: trying to run function just once

@richb202, > Bringing down the users data from S3 can be time consuming so I want to only do it once per user log in. Try using session which I assume is already being called when a user logs in.
1,030 Views
21 Replies
06-22-2021, 06:58 PM
John_Betong
    Thread: trying to run function just once
Post: RE: trying to run function just once

The script I supplied is PHP. Where or what is _init()
1,030 Views
21 Replies
06-22-2021, 03:24 PM
John_Betong
    Thread: trying to run function just once
Post: RE: trying to run function just once

@richb201 , I have not used static before and decided to give it a try... discovered it ONLY works on Class Methods(...). The following KLUDGE should work which I have tried in: CI4 -> app/Common....
1,030 Views
21 Replies
06-22-2021, 12:04 AM
John_Betong
    Thread: Problem with saving session
Post: RE: Problem with saving session

Invalid URL: https://192.168.1.35/
533 Views
5 Replies
06-08-2021, 10:37 PM
John_Betong
    Thread: website images not loading on iPhone
Post: RE: website images not loading on iPhone

I'm surprised anything is loading after finding well over 170 HTML errors and warnings! https://validator.w3.org/nu/?doc=https%3A%2F%2Fhatimfurniturebd.com%2Fdouble-bed Quote: -- Fatal Error:...
544 Views
3 Replies
06-08-2021, 01:08 AM
John_Betong
    Thread: New Forums
Post: RE: New Forums

I asked on another Forum about changing the styles without having access to the CSS style sheets and Firefox's Extension Stylus was recommended. Easy to install, click the Stylus icon and select "Wr...
1,586 Views
17 Replies
06-08-2021, 12:50 AM
John_Betong
    Thread: New Forums
Post: RE: New Forums

I find it very difficult to read posts on this new forum due to the font, etc :( I checked,  Right-click -> Inspect element and found the theme files returning a 404 HTTP Request? Quote: -- t...
1,586 Views
17 Replies
06-07-2021, 08:27 PM
John_Betong
    Thread: Define/include "globally available" arrays and functions
Post: RE: Define/include "globally available" arrays and...

@"tomsenner" , Quote: -- Thank you. Is it ok to declare arrays as a constant? Was the file intended for that? My array might even change at some point if we add more currencies. -- Yes easy to incr...
1,557 Views
20 Replies
06-06-2021, 06:23 AM
John_Betong
    Thread: Define/include "globally available" arrays and functions
Post: RE: Define/include "globally available" arrays and...

@"paulbalandan" Missing quotes around CURRENCIES. define(CURRENCIES, array('EUR', 'USD')); SEE post #3
1,557 Views
20 Replies
06-06-2021, 04:48 AM
John_Betong
    Thread: Define/include "globally available" arrays and functions
Post: RE: Define/include "globally available" arrays and...

@tomsenner, You could declare CONSTANTS: index.php Code: --
1,557 Views
20 Replies
06-05-2021, 11:23 PM
John_Betong

Theme © iAndrew 2016 - Forum software by © MyBB