PHP cURL Help

Hi guys,

Really quick one. I am trying to write a client to sever using cURL requests. I can send the request but want to be able to parse the request when it hits the server. Basically I want to get the CURLOPT_USERPWD values.

Basic terms

send a request from client.php to server.php using curl
when it gets to server.php I want to get the CURLOPT_USERPWD values and check them.

Am I going about this wrong way or should I use XMLRPC.

Cheers

Steve

Sorted it! Sorry missed the PHP_AUTH in the Server variable

Feels pretty good to answer your own questions doesn’t it? :wink: