In PHP, For the url
http://usx:psx@fw.eg-03.local/pax-neo-sandbox/v1/e
Where do I get the username usx
and password psx
parts?
Based on the url: Username and password in https url I couldn't find it in the headers. My .htaccess also has the lines
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
If this is a duplicate, please can you point me in the right direction. I was unable to find it on stackoverflow.
Also, I don't need a username and password solution. I just need to get all the url parts or a reason for why PHP (or server) drops this.
Thanks in advance!