how to send login commend to afilias.net
<p>I am trying to connect with afilias using php code below.</p>

<pre><code>$ctx = stream_context_create();

$fp = stream_socket_client('inforfcote1.afilias.net:700', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx);
if (!$fp) 
{
    print "Failed to connect $err $errstrn";
    return;
}
else 
{
    print "Connection OK&lt;br /&gt;";
}
</code></pre>

<p>I get "connection OK" when I execute the script.</p>

<p>My question is how can I send the login command (username and password) to afilias?</p>
