2004/12/22 3:12
mauriciolima
Just popping in
Posts: 4
Since: 2004/12/22
2004/12/22 3:17
sbkiller
Just can't stay away
Posts: 461
Since: 2004/6/9 2
function redirect_header($url, $time = 3, $message = '', $addredirect = true)
function redirect_header($url, $time = 0, $message = '', $addredirect = false)
2004/12/22 3:26
2004/12/22 5:55
Dave_L
XOOPS is my life!
Posts: 2277
Since: 2003/11/7
2004/12/24 11:06
function redirect_header($url, $time = 3, $message = '', $addredirect = true) { global $xoopsConfig, $xoopsRequestUri; if (!defined('XOOPS_CPFUNC_LOADED')) { header("Location: $url"); exit(); } else { $url = preg_replace("/&/i", '&', htmlspecialchars($url, ENT_QUOTES)); echo ' '.$xoopsConfig['sitename'].' ._CHARSET.'" /> .$time.'; url='.$url.'" /> '.$message.' '.sprintf(_IFNOTRELOAD, $url).' '; } exit(); }
'.sprintf(_IFNOTRELOAD, $url).'
Advanced Search
183 user(s) are online (87 user(s) are browsing Support Forums)
Members: 0
Guests: 183