Topic: header mailto
Hi all,
(first note I'm not at all a coder)
So, I'm trying to make a script working as I want it to : its purpose is asking you to click an area of an image and, if test=ok, mailto your address. You click and it lauches the mailer program.
The code is :
if($this->_doCheck()) {
$_SESSION["tries"] = 0;
Header("Location: mailto:".$this->email);
It's working, no problem, but I want a link to come back because while it launches the mailer it creates at the same time a blank page where I want a come back link.
I have tried several "hacks", that work in firefox but not in IE : for example :
if($this->_doCheck()) {
$_SESSION["tries"] = 0;
Header("Location: mailto:".$this->email);
echo "<a href=\"".$_SERVER["HTTP_REFERER"]."\">back</a>";
In firefox, I have the link, not in IE.
I hope someone might help me : ) Thanks !
abclf.