Welcome Guest, Not a member yet? Register   Sign In
How to fix CodeIgniter headers?
#1

I'm having trouble using request headers in my CodeIgniter custom Controller. The function $request->getHeader('any-header') returns an empty object and using $request->headers() results in an error. How can I fix this issue and use the CodeIgniter functions instead of getallheaders()?
Reply
#2

What is an empty object?
It should return a Header object.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB