Is the new html page 'thepage.php' meant to take control or does the flash wait for a response? Also, are you requesting the values into PHP via $GET? eg.
$user = $GET['user'];
I am not really sure what you are trying to do here.
Also, this probably belongs in the Coding forum, not database.
Damien.