Authorization header not received in php

If you are not getting the authorization header to take your bearer token or other values you should know it is happening in apache. The solution is quite simple. You need to add to your htaccess SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

Published
Categorized as PHP

Dates in php

Get current date in PHP | Date format parameters | How to format a certain date in php Today we will talk about dates in php language with some examples. Get current date in PHP To get the current dateĀ  you can write this code date(); If you want to format the date in a… Continue reading Dates in php