Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Does New Model Object creates new MySQL connection ?
Post: Does New Model Object creates new MySQL connection...

Hello everybody, I would like to ask a question. I have a Model class PHP Code: -- class UserModel extends Model -- What happened if I create an object of User Model PHP Code: -- $dbuser = new ...
2,524 Views
1 Replies
09-02-2021, 07:31 PM
iot
    Thread: About Access-Control-Allow-Origin
Post: RE: About Access-Control-Allow-Origin

Thank you all
7,251 Views
5 Replies
01-19-2021, 11:22 PM
iot
    Thread: About Access-Control-Allow-Origin
Post: RE: About Access-Control-Allow-Origin

InsiteFX Wrote: (01-18-2021, 03:18 AM) -- Also you should specify the url as "https://www.my.com" Limiting the possible Access-Control-Allow-Origin values to a set of allowed origins requires code o...
7,251 Views
5 Replies
01-18-2021, 04:38 PM
iot
    Thread: About Access-Control-Allow-Origin
Post: About Access-Control-Allow-Origin

Hello, Thank your for reading my post. I would like to ask a question. I used Codeigniter 4. I used below code in my controller: PHP Code: -- public function __construct() {      header("Access-Con...
7,251 Views
5 Replies
01-18-2021, 12:39 AM
iot
    Thread: Expiring the session when the browser is closed
Post: RE: Expiring the session when the browser is close...

Thank you
4,242 Views
7 Replies
01-11-2021, 04:08 PM
iot
    Thread: Expiring the session when the browser is closed
Post: RE: Expiring the session when the browser is close...

paulbalandan Wrote: (01-08-2021, 01:37 AM) -- This is a bug in v4.0.4 and was fixed in the latest develop. Please wait for the next release. -- Thank you very much. Could you please tell me somewhe...
4,242 Views
7 Replies
01-10-2021, 04:40 PM
iot
    Thread: Expiring the session when the browser is closed
Post: RE: Expiring the session when the browser is close...

InsiteFX Wrote: (01-07-2021, 10:00 PM) -- PHP - Session destroy after closing browser (https://stackoverflow.com/questions/24402047/php-session-destroy-after-closing-browser) -- I want my system wor...
4,242 Views
7 Replies
01-07-2021, 11:04 PM
iot
    Thread: Expiring the session when the browser is closed
Post: Expiring the session when the browser is closed

Hello, Thank you for reading my question. I am updating from CI3 to CI4. To expire when the browser is closed, I set $sessionExpiration = 0 in /Config/App.php, but it does not work. The session...
4,242 Views
7 Replies
01-07-2021, 07:20 PM
iot
    Thread: Calling multiple stored procedures
Post: Calling multiple stored procedures

my model has two methods call two different stored procedures: PHP Code: -- function call_1($parameter) { $sql    = "CALL my_procedure_1(?);"; $paras  = array($parameter); $query  = $this->db...
1,526 Views
0 Replies
12-14-2020, 06:55 PM
iot
    Thread: Class Name is variable does NOT work
Post: RE: Class Name is variable does NOT work

Thank you!
1,570 Views
3 Replies
10-11-2020, 07:34 PM
iot
    Thread: Class Name is variable does NOT work
Post: Class Name is variable does NOT work

This code work on CI3 but not on CI4 PHP Code: -- class Foo {     public static $var2 = 1; } $classname = 'Foo'; echo $classname::$var2; // Outputs 1 -- In CI4, it will return an error: Class...
1,570 Views
3 Replies
10-07-2020, 07:38 PM
iot
    Thread: About security->xss_clean() function
Post: RE: About security->xss_clean() function

Thank you
3,614 Views
3 Replies
10-07-2020, 07:32 PM
iot
    Thread: About security->xss_clean() function
Post: About security->xss_clean() function

Hello,  I would like to ask a question. In Codeigniter 3, we have security->xss_clean() function. What is an alternative for it?
3,614 Views
3 Replies
10-07-2020, 12:22 AM
iot

Theme © iAndrew 2016 - Forum software by © MyBB