I know how to integrate "Login via google account" in any website. But in some website like zomato always prompt "login via google" account while opening. It sh
In Codeigniter 3 is possible to get current active class and method with this code: $active_controller = $this->router->fetch_class(); $active_fu
A PHP Error was encountered Severity: Warning Message: count(): Parameter must be an array or an object that implements Countable Filename: models/login_model.p
How can I get the user id from session in javascript? I was using this: $( document ).ready(function() { var sessionUserId = '<?php $_SESSION['user_id']
Recently upgraded my PHP version from 8.0 to 8.1, now it's displaying tons of error regarding this, mainly Severity: 8192 --> Implicit conversion from float
I am faced with an error in log files This ERROR - 2022-05-13 02:47:21 --> Severity: error --> Exception: Too few arguments to function Transactions_model
In my company we have htaccess file in which there is no web caching enabled,I want to enable caching for one single api but htaccess file is overriding my cach
I was reading the CodeIgniter 3 documentation on using sessions and high traffic with AJAX, and it recommends using session_write_close(). My application has fu
Here's my javascript code: if (password != confirmPassword) $("#divCheckPasswordMatch").html("Passwords do not match!"); else $("#div
Hye guys. Just need a help!!! When I was using ci3 so I faced an issue when user clicked browser back button, that's show " resubmit the form", so I solved that
Hello Everyone this could be the most common question asked on stackoverflow, I have an invoice template in html like this demo page. I want to generate an invo
Hello Everyone this could be the most common question asked on stackoverflow, I have an invoice template in html like this demo page. I want to generate an invo
I know there some questions like this, but they didn't answer questions exactly. This is what I need, Upload files using Dropzone Save form data and uploaded im
I am using this Instagram media post third party library. When I am logged in in my Instagram account every time I am getting a checkpoint (challenge) required
I have some promblem with CI when i use $this->session->set_userdata Controller public function check_login() { $email = $this->input->pos
CodeIgniter force_download is not working My Code: if(!empty($articlefile)){ if(file_exists('./media/journals/xml/'.$articlefile)){ $this->load->hel
So... it appears as if overnight, SOME-thing has changed with either the Codeigniter 4 framework or PHP in general, as my website is now down - and it seems to
I got this error trying to access our SCADA website: A Database Error Occurred Unable to connect to your database server using the provided settings. Filena
I am trying to get json data from the accuweather API for a locationKey in PHP. The output is as: file_get_contents(https://dataservice.accuweather.com/forecast
I'm trying to make a dynamic dropdown with Codeigniter but I'm having trouble getting the values on the next dropdown. When I select and option on the first dro