Kevin L'Huillier wrote:
On 27/06/05, Dr. Brad Lustick [EMAIL PROTECTED] wrote:
I'm a novice trying to understand the exact construction of code for doing an
HTTP 301 permanent redirect for a server
coded in PHP. Could someone please tell me how I would handle the following
example?
In your
Jasper Bryant-Greene wrote:
Kevin L'Huillier wrote:
On 27/06/05, Dr. Brad Lustick [EMAIL PROTECTED] wrote:
I'm a novice trying to understand the exact construction of code for doing an
HTTP 301 permanent redirect for a server
coded in PHP. Could someone please tell me how I would handle the
Jochem Maas wrote:
header('HTTP/1.1 301 Moved Permanently');
also consider that using 'Status' may be better or possibly both to cover
you bases, e.g.:
?php
header(HTTP/1.1 301 Moved Permanently);
header(Status: 301 Moved Permanently);
?
Waste of time. Go read the HTTP
Jasper Bryant-Greene wrote:
Jochem Maas wrote:
header('HTTP/1.1 301 Moved Permanently');
also consider that using 'Status' may be better or possibly both to cover
you bases, e.g.:
?php
header(HTTP/1.1 301 Moved Permanently);
header(Status: 301 Moved Permanently);
?
Waste of
Jasper Bryant-Greene wrote:
Jochem Maas wrote:
header('HTTP/1.1 301 Moved Permanently');
also consider that using 'Status' may be better or possibly both to cover
you bases, e.g.:
?php
header(HTTP/1.1 301 Moved Permanently);
header(Status: 301 Moved Permanently);
?
Waste of
Hi
Actually you can get away with this:
header(Location: $url,301);
This will let php generate the proper headers
Also, and I stress this point (again and again), the http specification
clearly states that location headers need to have a *fully qualified url* not
a site-specific one.
On Wednesday 29 June 2005 00:31, Andy Pieters wrote:
Hi
Actually you can get away with this:
header(Location: $url,301);
Well it looks like we all make typos
Header(Location: $url,true,301);
is more like it
This will let php generate the proper headers
Also, and I stress this point
Hi,
I'm a novice trying to understand the exact construction of code for doing an
HTTP 301 permanent redirect for a server
coded in PHP. Could someone please tell me how I would handle the following
example?
http://www.nimblepedic.com/services-bodytools.php?i=bodytools
WANT TO DO A HTTP 301
On 27/06/05, Dr. Brad Lustick [EMAIL PROTECTED] wrote:
I'm a novice trying to understand the exact construction of code for doing an
HTTP 301 permanent redirect for a server
coded in PHP. Could someone please tell me how I would handle the following
example?
9 matches
Mail list logo