运用javascript的跳转方法。
<?php
$url = http://www.xxxxx.com;
echo "<script language='javascript'type='text/javascript'>";
echo "window.location.href='$url'";
echo "</script>";
>
<?php
$url = http://www.xxxxx.com;
echo "<script language='javascript'type='text/javascript'>";
echo "window.location.href='$url'";
echo "</script>";
>