|
Posted by Curtis on 02/01/07 05:26
On Wed, 31 Jan 2007 08:08:54 -0800, Allodoxaphobia <bit-bucket@config.co=
m> =
wrote:
> On 30 Jan 2007 22:17:11 -0800, bob.chatman@gmail.com wrote:
>>
>> function Redirect($location =3D "")
>> {
>> if (headers_sent())
>> {
>> if (!$location)
> .....................
>> }
>> else
>> {
>> if(!$location)
>> .............
>> ....
>
> Huh? How's that gonna work?
>
> Jonesy
It may, or may not, since it relies on client side scripting. Basically,=
=
it checks if headers have been sent, if so, it tires to "redirect" using=
=
JavaScript, or else it will use PHP's header function to redirect.
-- =
Curtis, http://dyersweb.com
[Back to original message]
|