allora....la cosa migliore potrebbe essere usare ajax e javascript, però si può fare anche tutto con PHP

fai così:

in check_registrati.php la riga
Codice PHP:
header('location: registrazione.php'); 
diventa
Codice PHP:
header('location: registrazione.php?check=ok'); 
poi dentro registrazione.php
la parte
Codice PHP:
<?php session_start(); ?>
<form action="check_registrati.php" method="POST">
diventa così:
Codice PHP:
<?php session_start(); 
if isset(
$_GET['check'] && $_GET['check']=='ok'
echo 
'<form action="check_registrati.php?action=primocontrollo" method="POST"> '
else 
echo 
'<form action="check_registrati.php?action=altro" method="POST"> '
 
?>
ora dentro check_registrati.php
basta che controlli $_GET['action']
se $_GET['action'] == primocontrollo
fai quello che facevi finora
se $_GET['action'] == altro
fai le altre cose che devi fare