We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use \App\Libraries; Controllers -> new \Authentication($this);
$this->CI->request->getIPAddress() Cannot access protected property App\Controllers\Main::$request
how to get ip?
The text was updated successfully, but these errors were encountered:
"$this->CI" equals what?
My code :
use CodeIgniter\HTTP\IncomingRequest
$this->request = \Config\Services::request(); $this->request->getIPAddress();
Réf https://bcit-ci.github.io/CodeIgniter4/libraries/request.html?highlight=ip#getIPAddress
Sorry, something went wrong.
There is no more CodeIgniter Super Object.
Asked & answered on the forum.
No branches or pull requests
use \App\Libraries;
Controllers -> new \Authentication($this);
$this->CI->request->getIPAddress() Cannot access protected property App\Controllers\Main::$request
how to get ip?
The text was updated successfully, but these errors were encountered: