Hi,
I am developing one application in which I need to authenticate two application running on same server, but differently.
Here is my scenario...
I have a Interface for my Shopping cart that use htpasswd authentication using mod_auth, this Authentication is trigger by Apache's .htaccess file, Now after he gets login there is another link within his login panel that open up phpMyAdmin for him, phpMyadmin is configure to pick authentication as "http".
Now since phpMyadmin use this info to connect to database, I need to pass this information so that Use that login to my Shopping cart can access phpmyadmin without need to reauthenticate itself.
For this we have same username and password for both application, i.e. user in .htaccess and mysql are same.
If you have use CPanel than you can understand my problem very well what I want to achieve....
Any Idea how can I do this....Is this is possible with PHP that I pass Authenticate Header value from one application to other those are just one folder away from each other..
Thanks 😃