Forum Moderators: coopster

Message Too Old, No Replies

Status Dependant Redirect

Can Anyone Help

         

minus_zero

10:57 am on Oct 2, 2004 (gmt 0)

10+ Year Member



Does anyone know a scipt that redirect depending on the status of the server (EG If Server Is Not Avalible Redirect To A If Not Redirect To B?

Thanks In Advance

ergophobe

5:32 pm on Oct 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There are some nice scripts out there that are pretty compact. Try searching on

online server status script php

You'll find several of varying complexity depending on what you want. I tested a couple out and they seem to work pretty well.

Tom

minus_zero

3:08 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



Thanks but i did some copying and pasting from php.net and made a nice little 1kb script that check if a file exists and redirects acordingly.

thanks anyway because i might need something more advanced in the future.