Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Authantication Fail

View Parsed - Show only message text

MIME-Version: 1.0
Received: by 10.100.45.5 with SMTP id s5mr936086ans.1.1233133646808; Wed, 28 
	Jan 2009 01:07:26 -0800 (PST)
Date: Wed, 28 Jan 2009 01:07:26 -0800 (PST)
X-IP: 123.231.20.248
User-Agent: G2/1.0
X-HTTP-Via: 1.1 DUOFIREWALL
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) 
	Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe)
Message-ID: <70fb602d-87e1-451c-be00-4ac7bfc1442e@w39g2000prb.googlegroups.com>
Subject: Authantication Fail
From: arunaxp <arun...@gmail.com>
To: Amee Developer <amee-developer@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

hi friend
im new to php and amee. i need to integrate amee with my site.mean
while i face Authentication problem.
amee_functions.php --> sendRequest(..,..,..) function

//-------------------------------------------------------------------------------------------

   $s = socket_create(AF_INET, SOCK_STREAM, 0);
   if(socket_bind($s,'192.168.1.50',49154))
   {
   		//echo'socket binded';
   }
   $z = socket_connect($s, gethostbyname($amee_host), $amee_port);

   $q = socket_write($s, $header, strlen($header));

   $lines=array();
   $lines[0]="";
   $i=0;
   $xml_line="";
   while (true)
   {
     $c = @socket_read($s, 1)or die('Socket Read error');

//------------------------------------------------------------------------------
with my example unable to read socket
finally it give me following error

"HTTP/1.1 401 UNAUTHORIZED Via: 1.1...."

what should i do . please help me as soon as possible
thank u

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google