public void sendResponsePHP(int state,String html,String extra) throws IOException{
		//״̬ͷ
		if(state==HTTP.HTTP_OK){
			out.println("HTTP/1.1 200 OK");
			out.println("Content-Type: text/html");
			out.println();
			out.write(html.getBytes());
			out.flush();

			out.close();	
		}
		else if(state==HTTP.HTTP_NOT_FOUND){
		System.out.println("ûзŶ");
		out.println("HTTP/1.1 404 Not Found");
		out.println();
		out.write(Tools.getMsgByHttpState(state).getBytes());
		out.close();	
		}
	}