redirec
Posted: Sun Aug 14, 2005 12:17 am
hi, im doing a login page.if i successfully login, i will be directed to pageA.php. if not i be redirect to pageB.php.. but i know i cant use header(). so wat shu i do?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<script type="text/javascript">
<!--
document.location.href = 'page.php';
//-->
</script>If you are bleeding do you throw on a bandaid or do you clean the cut first?use a javascript if you can't use header.