RE: When logged in it redirects, how to? 07-14-2014, 10:32 PM
#23
(07-14-2014, 06:20 PM)zomgwtfbbq Wrote: It's an extremely bad thought to think that using:
will be enough.Code:header("Location: http://www.example.eg");
It's not like when the interpreter stumbles upon the header location that it will redirect you right away, it will simply set the header and will proceed executing the rest of the script. Therefore you should always call the exit function to terminate the script, unless of course you want the rest of the script to be executed as well.
like your reputation points given said.
you might neither be as smart as you thought with your judgement against me.
where did I say: "All you need is:" or "this is what you want:"?
the first part is clearly stated to me everyone that can read see's that
I said this as extra on the other replies
so instead of bitching and trying to be a damn smart ass gtfo or read the post.
(This post was last modified: 07-14-2014, 10:38 PM by boby79simon.)

![[Image: 120x240.gif]](http://www.gomezpeerzone.com/wp-content/uploads/2011/11/120x240.gif)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)