You can redirect by sending a location header. PHP has a handy built-in header() function:
header("Location: http://www.newurl.com/");
Make sure you do not print out anything before the header, especially blank spaces (I've gotten snagged on that fairly often).
e