im trying to login to my email at website http://nin.services.everyone.ner/ema...s/loginuser.pl thrugh fsockopen from my website. im using the following script

<?

// Build the request string
$request = 'LoginName=jdm79' ;
$request .= '&user_pwd=jdma79' ;


// Build the header
$header = "POST /email/scripts/loginuser.pl HTTP/1.0rn";
$header .= "Content-type: application/x-www-form-urlencodedrn";
$header .= "Content-length: " . strlen($request) . "rnrn";

// Open the connection
$fp = fsockopen('nin.services.everyone.net', 80, &$err_num, &$err_msg, 30);
if ($fp)
{
// Send everything
fputs($fp, $header . $request);
// Get the response
while (!feof($fp))
$response .= fgets($fp, 128);
}

echo $response ;

?>

but im getting the error
Not Found
The requested URL /email/scripts/loginuser.pl was not found on this server.
--------------------------------------------------------------------------------
Apache/1.3.9 Server at siteurl.everyone.net Port 80.


but when im going to website http://nin.services.everyone.ner/ema...s/loginuser.pl it's working well.

Can any body help me in doing this. well i have allready mentioned the login name and password jdma79, jdma79 for the email.

thnx

Junaid