Re: [PHP] remove page referrer

2007-09-11 Thread Daniel Brown
On 9/11/07, NOSPAM plz wrote: > I think you have to put the exit(); function in the code to prevent hacks. > > if($_SESSION['already_submitted'] == True) { > header("Location: page2.php"); > *exit();* > } Good call. I forgot to type that in there, but you're right. ;-) -- Daniel P

Re: [PHP] remove page referrer

2007-09-11 Thread Ludovic André
Hi, You can not control this, but you might be able to control the page where the user is going back through the third page :) like this: page 1: submit to page 2 page 2: header('Location: /page 3'); page 3: the final page if the user clicks back he is going to end up on page 2 which has loc

Re: [PHP] remove page referrer

2007-09-11 Thread tedd
At 10:04 AM +0430 9/12/07, Shahrzad wrote: Hi all, I have 2 page ,when I go from first page to second page , I don't want the user can back to first page where it come from. is there any way to do this in php ? to remove or disactive $_SERVER["HTTP_REFERER"] in php? Thanks Didn't someone

Re: [PHP] remove page referrer

2007-09-11 Thread Daniel Brown
On 9/11/07, Stut <[EMAIL PROTECTED]> wrote: > Please include the list when replying. > > Shahrzad wrote: > > Mercyyy Stut for your reply, > > No problem. > > > For the reason of sessions I want no one can back to previous > > page,if somebody temptates to do that, either this error occur : >

Re: [PHP] remove page referrer

2007-09-11 Thread brian
Shahrzad wrote: Hi all, I have 2 page ,when I go from first page to second page , I don't want the user can back to first page where it come from. is there any way to do this in php ? to remove or disactive $_SERVER["HTTP_REFERER"] in php? Shahrzad, i'm assuming that you want to do this to p

Re: [PHP] remove page referrer

2007-09-11 Thread Stut
Please include the list when replying. Shahrzad wrote: Mercyyy Stut for your reply, No problem. For the reason of sessions I want no one can back to previous page,if somebody temptates to do that, either this error occur : "HTTP/1.0 404 Not Found" or that page reload again . Can I d

Re: Fw: [PHP] remove page referrer

2007-09-11 Thread Daniel Bächtle
> my problem is for the 'Back' button of Internet Explorer,.. You cannot disable the back buttom of any browser with php ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] remove page referrer

2007-09-11 Thread Shahrzad
my problem is for the 'Back' button of Internet Explorer,.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] remove page referrer

2007-09-11 Thread Stut
Shahrzad wrote: I have 2 page ,when I go from first page to second page , I don't want the user can back to first page where it come from. is there any way to do this in php ? to remove or disactive $_SERVER["HTTP_REFERER"] in php? No, this is not something the server (where PHP lives) ca

Re: [PHP] remove page referrer

2007-09-11 Thread Aleksandar Vojnovic
You can not control this, but you might be able to control the page where the user is going back through the third page :) like this: page 1: submit to page 2 page 2: header('Location: /page 3'); page 3: the final page if the user clicks back he is going to end up on page 2 which has location

[PHP] remove page referrer

2007-09-10 Thread Shahrzad
Hi all, I have 2 page ,when I go from first page to second page , I don't want the user can back to first page where it come from. is there any way to do this in php ? to remove or disactive $_SERVER["HTTP_REFERER"] in php? Thanks