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');
-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
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
-
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
4 matches
Mail list logo