What is the function of rel2abs()?
On any page that is redirecting after writing to a database, this code is inserted as part of the block that handles the database write -
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
Is that to make the redirection use an absolute link (as it should)?
header("Location: " . $whatever)
If so, it's not working for me. It always inserts some incomplete path that looks like $_SERVER['DOCUMENT_ROOT'] to me. It should be something beginning with "http://www.example.com/" shouldn't it? In most cases, my redirection is failing and I wind up just commenting out the block of code I put above.