Still problems

$sock->connect('https://ipnumber',2222);

Since you're connecting through https:// i assume you have directadmin set to run under ssl?
 
Yes, it is ssl.

i have tried with ssl:// https:// and nothing before the ipnumber/hostname in the script and they give me the same error

/Marcus
 
Problem solved!
What solved the problem i don't know.

It works just fine now!

Thanks for the patient with me!

/Best regards
Marcus
 
By the way, how did you get OpenSSL to compile into PHP? What operating system are you running? I was/am having a hell of a time trying to get it working under RH9.
 
Back
Top