$findme = '?';
$pos = strpos($_SESSION['shop_return_url'], $findme);
if ($pos === false) {
header('Location: ' . $_SESSION['shop_return_url'] . '?action=added_confirm_sample');
} else {
header('Location: ' . $_SESSION['shop_return_url'] . '&action=added_confirm_sample');
}
...works fine other than in safari, and the same for
header('Location: ' . $PHP_SELF . '?action=oops');
also doesn't work in the site, although I put just this on a test page and it worked okay. Is this enough info for you?
Thanks guys... ;-)