Try - header("Location: whatever.html"); Be aware though that nothing can
come before this in your file. No output of any kind.
- Original Message -
From: "Wade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2003 6:51 PM
Subject:
l";
}
My syntax might be screwy (haven't done JavaScript in a while) but you get
the idea.
-Mike
-Original Message-
From: Wade [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect to Home Page
03312003 1549 GMT-6
to:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect to Home Page
03312003 1549 GMT-6
I saw this little script somewhere and now I cannot find it.
Im working on this site. If you happen to bounce into the site from
anywhere but the home pa
03312003 1549 GMT-6
I saw this little script somewhere and now I cannot find it.
Im working on this site. If you happen to bounce into the site from
anywhere but the home page, you are automatically redirected back to the
home page. Can someone help me with this?
Wade
--
PHP Windows Mailing
November 28, 2002 9:09 AM
Subject: RE: [PHP-WIN] Redirect browser to another URL?
> Hi Max
>
> My comment on switching off javascript was just to warn you that there are
> users/browsers out there who have it switched off all the time so your
> script won't work for these users
ROTECTED]]
> Sent: Thursday, November 28, 2002 3:55 AM
> To: Jack Kelly Dobson; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Redirect browser to another URL?
>
>
> Jack
>
> Sorry - I am a bit confused... Are you saying you could not get a header()
> re-direct to work in a scr
ld start looking at using a database to
store the comments - it'll make your life much easier.
Rich
-Original Message-
From: Max Graham [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 15:19
To: Rich Gray; [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Redirect browser to another URL?
ECTED]>
Sent: Thursday, November 28, 2002 3:18 PM
Subject: Re: [PHP-WIN] Redirect browser to another URL?
> The original issue was, I tried to have the single page to display any
> previous comments, and then a form to add comments. Then, once it was
> submitted, it would submit itself
triggering the booby traps ...
- Original Message -
From: "Rich Gray" <[EMAIL PROTECTED]>
To: "Max Graham" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 3:05 AM
Subject: RE: [PHP-WIN] Redirect browser to another URL?
>
OTECTED]>
To: "PHP Helplist Windows" <[EMAIL PROTECTED]>
Cc: "Max Graham" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 6:21 AM
Subject: Re: [PHP-WIN] Redirect browser to another URL?
> if ( $FormIsSent == "My-String ) {
> process form
> head
t;[EMAIL PROTECTED]>
Cc: "Max Graham" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 6:32 AM
Subject: Re: [PHP-WIN] Redirect browser to another URL?
> I concur with Stephen. However, there is an EXTREMELY simple and
convenient
> way to control output - that has not
lt;[EMAIL PROTECTED]>
To: "PHP Helplist Windows" <[EMAIL PROTECTED]>
Cc: "Max Graham" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 2:21 PM
Subject: Re: [PHP-WIN] Redirect browser to another URL?
> if ( $FormIsSent == "My-String ) {
> proc
it;
}
- Original Message -
From: "Max Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 5:50 AM
Subject: Re: [PHP-WIN] Redirect browser to another URL?
> You know, this is exactly what happened to me. I was trying to design a
>
What happens if you switch off javascript in your browser - does it fail?
Rich
-Original Message-
From: Max Graham [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 05:51
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Redirect browser to another URL?
You know, this is exactly what happen
browser...it could be the last line of a script.
BTW your javascript solution won't work if the user has switched off
javascript...
Rich
-Original Message-
From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 16:20
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Red
rom: "Jack Kelly Dobson" <[EMAIL PROTECTED]>
Date: Wed, 27 Nov 2002 10:19:30 -0600
Subject: Re: [PHP-WIN] Redirect browser to another URL?
Thanks for all the help guys.
My problem, as most of you figured, is that my script has a form in it that
re-runs itself when the form is submi
or other header calls).
-Dash
-Original Message-
From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 27, 2002 8:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Redirect browser to another URL?
Thanks for all the help guys.
My problem, as most of you figured, i
n your library, yet
> another way to redirect from anywhere in your script
>
> function redirect($url){
> echo "window.location.replace(\"".$url."\")";
> }
>
> usage:
>
> blah
> blah
> redirect("any_url");
>
> exit;
>
>
]
Sent: Tuesday, November 26, 2002 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect browser to another URL?
Hello,
Anyone know how to have a script re-direct the browser to a URL cleanly?
---
[This E-mail scanned for viruses by Declude Virus]
--
PHP Windows Mailing Lis
;
> -Original Message-
> From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 2:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Redirect browser to another URL?
>
>
> Hello,
>
> Anyone know how to have a script re-dir
browser
elsewhere, but continue with the rest of the script.
-Dash
-Original Message-
From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect browser to another URL?
Hello,
Anyone know how to have a
Try using a javascript with your php to create a redirect redirect:
document.location.href="<?PHP echo $url ?>"
Hope this is useful.
Kieran Hall
-Original Message-
From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2002 22:43
To: [EMAIL PROTECTED]
S
Hello,
Anyone know how to have a script re-direct the browser to a URL cleanly?
I've tried using header("location:" . $url); but I'm running into a problem
with a server error saying header data was already sent from "some line in
the script that was running" as if the new url is being opened aft
code) and test
the conditions you want to test. Observe:
> -Original Message-
> From: Rodrigo San Martin [mailto:[EMAIL PROTECTED]]
> Sent: 20 August 2002 07:46
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Redirect
>
>
> Halo.
>
> I need som help with my scr
G'day
This is a function I use when wanting to redirect to another page while
running a script:
--
function redirect($url) {
echo ' window.location.replace (\''.($url).'\'); ';
}
ay, August 19, 2002 13:41:41
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect
Halo.
I need som help with my script. I need to find a way to redirect my script
to another file. I start with the login file, which is a html file, and send
variables through it to a file I call do_login. This che
Halo.
I need som help with my script. I need to find a way to redirect my script
to another file. I start with the login file, which is a html file, and send
variables through it to a file I call do_login. This checks if username and
password is correct. On the top of this file I have a if statem
"XXX");
If the database is not available it would dump an error to the screen
without the @ in front of the command.
Ross
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 26 October 2001 09:48
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redir
the message) just because the mailbox is
empty beats me! 8-)
-Steve
---
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect stderr/Suppress imap_open error
--- Received from FPU.WHITES1 799 3703
--- Received from FPU.WHITES1 799 370326-10-01 09:17
-> [EMAIL PROTECTED]
Anyone know how to redirect stderr so it doesn't appear on the screen?
I'm battling with imap_open writing an error to the screen when the
(valid) mailbox is empty.
Cheers - Steve
This e-mail may c
> header ("Location: http://www.cw213.net/";);
>
> make sure u run this b4 any output to the browser.
You should also add "exit;" after the statement so the script does not keep
running.
... I think.
Justin -- http://blaix.org
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
Hi Stanley,
it should be something like this:
header ("Location: http://www.cw213.net/";);
make sure u run this b4 any output to the browser.
--
regards,
chen wei (http://www.cw213.net)
===
Solutions Developer of Earth9.com
===
Hi all,
How can i redirect URL under win2k?
e.g:
if (user == 1) {
redirect to www.yahoo.com
}
else {
redirect to www.google.com
}
Pls help thx!
Stanley
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
33 matches
Mail list logo