View Full Version : timed redirect

04-13-2012, 09:37 AM
I need a redirect that happens between the time of 2a to 6am in php
can anyone help?

sir pannels
04-13-2012, 02:35 PM

Probably better ways to do it but I'm short on time...

$time = date("G");
if($time>1 && $time<7)
header('Location: http://www.freelancepow.com/');


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum