$httdat = preg_replace('/"/', "", $httdat);
じゃなくって?