void generate_page(char password[25], int sock_in, char *query, char *ip) { char *page = get_param(query, 0); char *ppass = get_param(query, "password"); if ( (ppass == 0) || (strcmp(password, ppass) != 0) ) { web_send(sock_in, html_header("Enter your password")); web_send(sock_in, "