{$post_comment} EOL; $xml = postGeneric($api, $postd, $conkey, $conkey_sec, $_SESSION['acstoken'], $_SESSION['acs_sec'], $body); if ($xml['http'] != '201'){ $_SESSION['post_result'] = FALSE; $_SESSION['post_result_mes'] = 'なんかのエラーです。'; $_SESSION['post_error'] = $xml['body']; } else { $_SESSION['post_result'] = TRUE; $_SESSION['post_result_mes'] = 'ブックマークを投稿しました。'; $_SESSION['post_body'] = $xml['body']; } }*/ // if ($device_who == 'android' && preg_match("/(1\.6)|(1\.5)/", $_SERVER['HTTP_USER_AGENT'])){ // $post_return = htmlspecialchars($post_return, ENT_QUOTES); // echo "\n"; // echo "\n"; // echo "\n"; // echo ""; // echo ""; // echo "Redirect for POST after..."; // echo "\n"; // echo "

Redirecting...

"; // exit(); // } else { header('HTTP/1.1 303 See Other'); // header('HTTP/1.1 302 found'); header('Location: ' . $post_return); exit(); // } ?>