// Comunidades function getComunities($postid) { $posturl = "http://www.melkorcete.com/index.php?p="; // Tu web hasta la variable $_GET $url = htmlentities( $posturl.$postid); // De cara a validacion ?> }