I am trying to send username and password parameters to a url using curl, and I want to retrieve them. I send the parameters to a page, like the following:
&
you can find the username and password in the global $_SERVER array
$_SERVER
$_SERVER : array ( .... 'PHP_AUTH_USER' => 'the_username' 'PHP_AUTH_PW' => 'the_password' )