You can do your conditional redirect before actually outputting HTML (I do this routinely).
<?php if ($cond1 == "blah") {
header("location: 1.php");
} else {
header("location: 2.php");
}
?>
<BODY>...
If you can't figure out how to do that in your case, you can do a metatag refresh as you suggest. BUT... it will not appear as clean as a true 302 redirect... because the page will flicker before redirecting (even with a 0 refresh value).
That's why a 302 redirect is usually preferred.
Dave
===========================================
http://badblue.com
Free small footprint web server for Windows
P2P file-sharing, PHP, wireless apps & more