foreach_post, getallheaders