Re: [PHP] Redirecting in a PHP script

2007-03-15 Thread Satyam
- Original Message - From: "tedd" <[EMAIL PROTECTED]> At 11:28 PM -0500 3/14/07, Richard Lynch wrote: On Tue, March 13, 2007 11:54 pm, Chris Shiflett wrote: Tijnema wrote: Did you guys ever noted that little arrow down just right of the back button, where you can go back 2 steps

Re: [PHP] Redirecting in a PHP script

2007-03-15 Thread tedd
At 11:28 PM -0500 3/14/07, Richard Lynch wrote: On Tue, March 13, 2007 11:54 pm, Chris Shiflett wrote: Tijnema wrote: Did you guys ever noted that little arrow down just right of the back button, where you can go back 2 steps at once, so you don't have to click very fast? I think we both

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread clive
Larry Bradley wrote: I need to "goto" different PHP pages in my web site depending on what happens within some PHP code. For example, if the user is not logged in when he goes to a page, I want to send him to a LOGIN page. I've have everything working fine, using the following Javascript co

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread Richard Lynch
On Tue, March 13, 2007 11:54 pm, Chris Shiflett wrote: > Tijnema wrote: >> Did you guys ever noted that little arrow down just right of >> the back button, where you can go back 2 steps at once, so you >> don't have to click very fast? > > I think we both remember browsing before that feature was i

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread Richard Lynch
On Tue, March 13, 2007 3:50 pm, Tijnema ! wrote: > On 3/13/07, Chris Shiflett <[EMAIL PROTECTED]> wrote: >> Robert Cummings wrote: >> > I've found clicking really fast can get you back :) >> >> I, too, have successfully used this technique. :-) >> >> Chris > Did you guys ever noted that little arro

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread Richard Lynch
On Tue, March 13, 2007 3:41 pm, Chris Shiflett wrote: > Robert Cummings wrote: >> I've found clicking really fast can get you back :) > > I, too, have successfully used this technique. :-) +1 Sometimes "back" button followed at just the right time by "top" so I get the HTML, but no JS runs. --

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread Ben Ramsey
On 3/13/07 4:50 PM, Tijnema ! wrote: Did you guys ever noted that little arrow down just right of the back button, where you can go back 2 steps at once, so you don't have to click very fast?? Browsers have buttons in them? Next thing, you'll be telling me I can see images and color in my brow

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread Robert Cummings
On Wed, 2007-03-14 at 08:59 +0100, Tijnema ! wrote: > On 3/14/07, Chris Shiflett <[EMAIL PROTECTED]> wrote: > > Tijnema wrote: > > > Did you guys ever noted that little arrow down just right of > > > the back button, where you can go back 2 steps at once, so you > > > don't have to click very fast?

Re: [PHP] Redirecting in a PHP script

2007-03-14 Thread Tijnema !
On 3/14/07, Chris Shiflett <[EMAIL PROTECTED]> wrote: Tijnema wrote: > Did you guys ever noted that little arrow down just right of > the back button, where you can go back 2 steps at once, so you > don't have to click very fast? I think we both remember browsing before that feature was invented

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Chris Shiflett
Tijnema wrote: > Did you guys ever noted that little arrow down just right of > the back button, where you can go back 2 steps at once, so you > don't have to click very fast? I think we both remember browsing before that feature was invented. Chris -- Chris Shiflett http://shiflett.org/ -- P

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Robert Cummings
On Tue, 2007-03-13 at 21:50 +0100, Tijnema ! wrote: > On 3/13/07, Chris Shiflett <[EMAIL PROTECTED]> wrote: > > Robert Cummings wrote: > > > I've found clicking really fast can get you back :) > > > > I, too, have successfully used this technique. :-) > > > > Chris > > Did you guys ever noted that

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Tijnema !
On 3/13/07, Chris Shiflett <[EMAIL PROTECTED]> wrote: Robert Cummings wrote: > I've found clicking really fast can get you back :) I, too, have successfully used this technique. :-) Chris Did you guys ever noted that little arrow down just right of the back button, where you can go back 2 step

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Chris Shiflett
Robert Cummings wrote: > I've found clicking really fast can get you back :) I, too, have successfully used this technique. :-) Chris -- Chris Shiflett http://shiflett.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Philip Thompson
As other people have already said, use the header() function. However, be sure to include exit; after you call it. I've run into problems where it did not redirect properly if I didn't have the exit call. This also prevents anymore of the page loading (and maybe providing sensitive informat

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Dave Goodchild
If you do want to use the header function after html has been output, you can always look at using output buffering (ob_start()).

Re: [PHP] Redirecting in a PHP script

2007-03-13 Thread Eric Butera
On 3/12/07, Larry Bradley <[EMAIL PROTECTED]> wrote: I need to "goto" different PHP pages in my web site depending on what happens within some PHP code. For example, if the user is not logged in when he goes to a page, I want to send him to a LOGIN page. I've have everything working fine, usin

Re: [PHP] Redirecting in a PHP script

2007-03-12 Thread Richard Lynch
You also may want to consider just using an 'include' instead of bouncing the poor user around like a basketball in re-directs. Each re-direct sends traffic back and forth over the network, which could be slow/flaky. Plus you are chewing up HTTP connections on your web-server, and that's an expen

Re: [PHP] Redirecting in a PHP script

2007-03-12 Thread Robert Cummings
On Mon, 2007-03-12 at 22:43 +0100, Satyam wrote: > The only way to actually go back in > those is to open the dropdown list for the back button and skip over one > item. I've found clicking really fast can get you back :) > That does not happen when using the header() PHP function. That is my

Re: [PHP] Redirecting in a PHP script

2007-03-12 Thread Satyam
- Original Message - From: "Larry Bradley" <[EMAIL PROTECTED]> To: Sent: Monday, March 12, 2007 9:02 PM Subject: [PHP] Redirecting in a PHP script I need to "goto" different PHP pages in my web site depending on what happens within some PHP code. For e

Re: [PHP] Redirecting in a PHP script

2007-03-12 Thread Tijnema !
On 3/12/07, Larry Bradley <[EMAIL PROTECTED]> wrote: I need to "goto" different PHP pages in my web site depending on what happens within some PHP code. For example, if the user is not logged in when he goes to a page, I want to send him to a LOGIN page. I've have everything working fine, usi

[PHP] Redirecting in a PHP script

2007-03-12 Thread Larry Bradley
I need to "goto" different PHP pages in my web site depending on what happens within some PHP code. For example, if the user is not logged in when he goes to a page, I want to send him to a LOGIN page. I've have everything working fine, using the following Javascript code: $locat