Archive for August 19th, 2006

Failsafe Page Redirects with PHP

If you ever need a failsafe way to redirect browsers with PHP, whether or not the page headers have already been sent, look no further than Jakob B.’s snippet on PHP.net.

This code snippet uses the cleanest method, the php header function, if it is available. Otherwise, it defaults to javascript. Failing that approach it uses the old meta refresh method.

August 19th, 2006


About Harvey Ramer

CSS Web design, e-commerce Web design, and internet marketing issues from the desk of Harvey A. Ramer at Design Delineations.

View Harvey Ramer's profile on LinkedIn

Reader/Customer Feedback

Harvey Recommends

Accolades

Design Notes: A CSS Web Designer’s Blog at Blogged

Calendar

August 2006
M T W T F S S
« Jul   Sep »
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category