[PHP] Manipulate Request Headers after Redirect

2011-06-24 Thread Louis Huppenbauer
Hi there! I just have a small question concerning the http-protocol and php (and in specific the header-function, i think). Is it possible to manipulate the headers for the request which is sent after a 302-header? eg: Response: header('Referer: example.com'); header('Location: example.net');

Re: [PHP] Manipulate Request Headers after Redirect

2011-06-24 Thread Louis Huppenbauer
-Original Message- From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com] Sent: Friday, June 24, 2011 3:05 AM To: php-general@lists.php.net Subject: [PHP] Manipulate Request Headers after Redirect Hi there! I just have a small question concerning the http-protocol and php

Re: [PHP] Manipulate Request Headers after Redirect

2011-06-24 Thread Arthur Moczulski
If($_SERVER['SERVER_PORT'] == 302) { header('Referer: example.net'); } Richard L. Buskirk -Original Message- From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com] Sent: Friday, June 24, 2011 3:05 AM To: php-general@lists.php.net Subject: [PHP] Manipulate Request

Re: [PHP] Manipulate Request Headers after Redirect

2011-06-24 Thread Louis Huppenbauer
- From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com] Sent: Friday, June 24, 2011 3:05 AM To: php-general@lists.php.net Subject: [PHP] Manipulate Request Headers after Redirect Hi there! I just have a small question concerning the http-protocol and php (and in specific