Posted by Stefano on 08/13/07 06:42
> The other and better way is to change youre code at line:
> $headers.="Authorization: Basic root:password_root".$br.$br;
>
> to:
> $headers .= 'Authorization: Basic '
> . base64_encode('root:password_root') . $br . $br);
>
YYYEEEESSSSS !!!!
It works now !
To be honest, I tryed the function base64_encode() before but colon was
outside base64_encode.
Thank you very much Ulf. I was working around that problem since last week.
Regards.
Stefano
Navigation:
[Reply to this message]
|