Pablo Gosse wrote:
[snip]
$conn->Execute("delete from cms_events where e_id = {$fd['e_id']}") or
$this->CMS_error(2,$this->mod_name,$query,$conn->ErrorMsg());
header("Location:{$this->CMS_base_path}mods/events_manager/cms.events_ma
nager.dsp.php");
[snip]
Can anyone think of any reason why the above code, just those two lines,
would redirect correctly in one environment, yet simply redirect to the
currently existing page in another?
Can you place the following code just before the header() line, and post
what it prints?
die($this->CMS_base_path);
In other words, tell us what the $this->CMS_base_path field contains
when that line is executed.
Jasper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php