>>511-514
ありがとうございます。

ええと、申し訳ありません、質問を要約します。
まず、�@サイトにログインしたい。 �Aログイン後、自分が登録した情報を更新したい。

�@は$http_response_header を見てログインはできました。(原因はContent-Typeでした)>>510は解決。
�Aでつまずいていますが、レスポンスヘッダは以下の通りです

Array (
[0] => HTTP/1.1 302 Found
〜日付とか関係ないので省略〜
[6] => Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[7] => Pragma: no-cache
[8] => Set-Cookie: PHPSESSID=39o5g2rsmjru1b3bisj6cpsd57; path=/
[9] => Location: http://www.example.com/error
[10] => Content-Length: 0
[11] => Connection: close
[12] => Content-Type: text/html; charset=UTF-8
[13] => HTTP/1.0 404 Not Found
[14] => Date: Tue, 22 Oct 2013 09:20:03 GMT
[15] => Server: Apache/2.x.xx
[16] => X-Powered-By: PHP/5.x.x
[17] => Set-Cookie: PHPSESSID=egn56fsduhj3061l4ghr4l46o4; path=/
[18] => Expires: Thu, 19 Nov 1981 08:52:00 GMT
[19] => Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
[20] => Pragma: no-cache
[21] => Content-Length: 6653
[22] => Connection: close
[23] => Content-Type: text/html )