How can I print the values set in the header of a received request using CodeIgniter?
I tried print_r($_SERVER);
which doesn't help me. I'm hoping there's a different way using CI.
Simply use,
$this->input->request_headers();
If you are sending values from form submit,
$_REQUEST will help you
or
$this->input->post();
$this->input->get();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With