if (( !$_GET['primo_nome']) || ( !$_GET['secondo_nome'])) {

corretto, ma dovresti usare ISSET.... per evitare eventuali notice.

if (!ISSET($_GET['primo_nome'] || $_GET['secondo_nome'])) {