adwinwijaya wrote:
Hello php-generaler's ,
I have a script like this :
if($foo == 'something'){
header('Location:to_another_page.php') ;
}else
{
do another thing in here
}
header('Location:to_previous_page.php');
I got a problem ... when $foo == 'something' .. it
adwinwijaya wrote:
--> ok guys ... thanks for your answer and my another question
--> why the php didnt stop processing after sending the header ?
--> because in my logic ... after sending the (redirect) to another
--> page .. the process shall be stopped and thanks for your
--> advise .
--- adwinwijaya <[EMAIL PROTECTED]> wrote:
> if($foo == 'something'){
> header('Location:to_another_page.php') ;
> }else
> {
>do another thing in here
> }
>
> header('Location:to_previous_page.php');
>
>
> I got a problem ... when $foo == 'something' .. it wont redi
On Thu, Feb 12, 2004 at 05:20:29PM +1100, adwinwijaya wrote:
> Hello php-generaler's ,
>
> I have a script like this :
>
> if($foo == 'something'){
> header('Location:to_another_page.php') ;
> }else
> {
>do another thing in here
> }
>
> header('Location:to_previous_
4 matches
Mail list logo