, "'J. Michael Roberts'"
<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
07/24/2003 12:24 Subject: Re: [PHP-DB] Line of code
should work...but doesn't
[EMAIL PROTECTED] wrote:
this may work, but i hesitate, i've _never_ had to use exit to get my code
to excecute a redirect. and i'm heavily reliant on this function.
I say again: There is a big difference between "works" and "the right
way to do it". Think about it logically... if you are going
> I never use a full URI unless I am directing to a secure server and
> things always work on my end.
>
> Works either way I guess?
There's a big difference between "works" and "the right way to do it"...
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visi
EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 10:29 AM
> To: Aaron Wolski
> Cc: 'J. Michael Roberts'; [EMAIL PROTECTED]
> Subject: RE: [PHP-DB] Line of code should work...but doesn't
>
>
>
> this may work, but i hesitate, i've _never_ had to use exit
AIL PROTECTED]
> Sent: Thursday, July 24, 2003 10:34 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-DB] Line of code should work...but doesn't
>
>
> I'll admit right up front that this is an educated guess, but
> I think you
> need to provide an absolute path fo
]
Sent: July 24, 2003 10:29 AM
To: Aaron Wolski
Cc: 'J. Michael Roberts'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Line of code should work...but doesn't
this may work, but i hesitate, i've _never_ had to use exit to get my
code
to excecute a redirect. and i'm heavily relia
003 10:29 AM
> To: Aaron Wolski
> Cc: 'J. Michael Roberts'; [EMAIL PROTECTED]
> Subject: RE: [PHP-DB] Line of code should work...but doesn't
>
>
>
> this may work, but i hesitate, i've _never_ had to use exit
> to get my code
> to excecute a redire
Very interesting...and extremely helpful.
It's amazing the major difference a little 'exit;' can make.
Many thanks for saving my sanity,
--JMR
Aaron Wolski wrote:
>if (strftime("%H") == "03")
>{
> header( "Location: maintainence.php" );
> exit;
>}
>
>Note the exit; line.
>
>Aaron
>
ROTECTED]>
z.com> cc:
Subject: RE: [PHP-DB] Line of code
should work...
if (strftime("%H") == "03")
{
header( "Location: maintainence.php" );
exit;
}
Note the exit; line.
Aaron
-Original Message-
From: J. Michael Roberts [mailto:[EMAIL PROTECTED]
Sent: July 24, 2003 10:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Line of code should work...
10 matches
Mail list logo