That is weird

I'll have a think about it tonight

A nastyhack(tm) workaround is this:

Echo '<script type="text/javascript" language="javascript"><!-- Hidey cody
document.location.href=\'index.html?xx=2\'; // Endy hidey --></script>';

Ignore line breaks :)

HTH

Dan
--

-----Original Message-----
From: steve miller [mailto:[EMAIL PROTECTED] 
Sent: 09 January 2006 17:03
To: [email protected]
Subject: Re: [wdvltalk] location: wits end

Didn't work either. This must be one of those "staring me right in the 
face" problems that has to be something simple that I just don't see :(

No error messages; no nothing.


On Jan 9, 2006, at 11:57 AM, Dan Parry wrote:

> Interesting
>
> Header does prefer complete URLs (eg http://www.example.com/index.php)
>
> Try that and see what happens
>
> Dan
> --
>
> -----Original Message-----
> From: steve miller [mailto:[EMAIL PROTECTED]
> Sent: 09 January 2006 16:56
> To: [email protected]
> Subject: Re: [wdvltalk] location: wits end
>
> Hi Dan.
>
> die() and exit() stop the script, but I am getting no re-direct to
> index.html. If I echo out some placeholders, I find that the script
> jumps over the header statement and then stops.
>
> For example:
>
> if($no==1)
> {
> echo "2";
> header ("Location: index.html");
> echo "3";
> exit();
> }
>
>
> prints out 2 and 3, then quits with no re-direct. The thing that
> puzzles me is that this same exact code works in some pages in the same
> directory on the site, but not in others. What could cause that?
>
> steve
>
>


____  The WDVL Discussion List from WDVL.COM  ____
To Join wdvltalk, Send An Email To:
mailto:[EMAIL PROTECTED] or
use the web interface
http://e-newsletters.internet.com/discussionlists.html/
       Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

__________ NOD32 1.1356 (20060108) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
       Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to