Hi,
I have recently working in a project in which I have to retrieve some info from inside a secure location area; using HTTP Authentication (A secure folder,created with login and pass through cPanel, not PHP-HTTP Authentication).
That was easy to do using the Authentication header and opening a socket connection to the server passing a HTTP GET command.
But now, instead of retrieving the info; I was asked to log inside the secure folder; so the peple trying to enter would never get the popup window but directly connecting through a html form.
My problem is that using my current script I get the content of a page inside the secure folder; I don't get redirected to it; and worst, I don't remain logged; so if I tried to redirect by header("Location ...; I get the authentication popup window.
Any help will be deeply apreciated because I am pass a deadline.
Regards.
Edward.