For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > November 2005 > displaying a different page after a header("Location: $newurl") time out









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author displaying a different page after a header("Location: $newurl") time out
Peter

2005-11-16, 6:56 pm

Hi,

I wonder if the following is possible ?

Based on variables passed to a script I finally launch the appropriate page
(always a third party page on another server)

Like this :

header("Location: $newurl"); // re-direct

I now wonder, suppose this third party page is offline and instead of
getting the "this page cannot be displayed" from IE is it possible to detect
that and maybe put up another page ? Like, "please come back in while" or
something like that ?


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com