Re: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread ODCS
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:

Re: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread Wade
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

RE: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread Mike Brum
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

[PHP-WIN] Redirect to Home Page

2003-03-31 Thread Wade
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-29 Thread Max Graham
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

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-29 Thread Jack Kelly Dobson
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

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Rich Gray
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?

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Stephen Edmonds
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Max Graham
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? >

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Max Graham
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Max Graham
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Ignatius Reilly
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Stephen Edmonds
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 >

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Rich Gray
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

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-28 Thread Rich Gray
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Max Graham
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

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Dash McElroy
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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Jack Kelly Dobson
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; > >

[PHP-WIN] PHP Sessions and Redirects... (was Re: [PHP-WIN] Redirect browserto another URL?)

2002-11-27 Thread Luis Ferro
] 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

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Cam Dunstan
; > -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

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Dash McElroy
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

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Kieran Hall
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

[PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Jack Kelly Dobson
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

RE: [PHP-WIN] Redirect

2002-08-20 Thread Ross Fleming
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

Re: [PHP-WIN] Redirect

2002-08-19 Thread Jens Habegger
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).'\'); '; }

Re: [PHP-WIN] Redirect

2002-08-19 Thread Jim Hunter
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

[PHP-WIN] Redirect

2002-08-19 Thread Rodrigo San Martin
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

RE: [PHP-WIN] Redirect stderr/Suppress imap_open error

2001-10-26 Thread Ross Fleming
"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

[PHP-WIN] Redirect stderr/Suppress imap_open error

2001-10-26 Thread FPU . WHITES1
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

[PHP-WIN] Redirect stderr/Suppress imap_open error

2001-10-26 Thread FPU . WHITES1
--- 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

Re: [PHP-WIN] redirect -- pls help!

2001-09-26 Thread Justin Blake
> 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,

Re: [PHP-WIN] redirect -- pls help!

2001-09-26 Thread Chen Wei, Lian
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 ===

[PHP-WIN] redirect -- pls help!

2001-09-26 Thread Stanley
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