you see me... i don't like the problems i encounter when i try using the
so my own way of always doing the redirection isPHP Code:header("Location: page.html");
and since i always use this JS function, i make it in to a php function so i can use it anytime(even when it subject to changes)Code:<script> window.location = 'somepage.php'; </script>
this is how i do it.
so anytime i want to use it i do thisPHP Code:function jsredir($url){
<script>
window.location = '$url';
</script>
}
and viola...PHP Code:jsredir("mypage.html");
i like it when i do things like this(so simple)...





Reply With Quote