1
I have constructed a valid url out of some bits and pieces in a MySQL database and can't figure out how to push that url out of XOOPS so that a user can jump to it.
I thought I should use "redirect_header" but I cannot seem to get that to work.
The use case is that I have a form with a button on it and when pushed I want to jump out of my xoops-based website to an external website.
php code looks like this ....
/* index.php */
require_once("../../mainfile.php");
include XOOPS_ROOT_PATH."/header.php";
blah ...
blah ...
$url="http://www.google.com";
redirect_header($url, 1, "Redirecting to Google", true);
include XOOPS_ROOT_PATH."/footer.php";
Thanks for any help you can provide.