header, location: mailto abd browsers

From: Date: Wed, 07 Sep 2005 09:37:42 +0000
Subject: header, location: mailto abd browsers
Groups: php.general 
Request: Send a blank email to php-general+get-221950@lists.php.net to get a copy of this message
hello, I have a little problem with this kind of script : <?php function mailto ($addr) {
     Header ("Location: mailto:$addr");
} mailto("somebody@somewhere.tld"); ?> When called from an html page, it open correctly un MUA from mailing, but with some browser (mozilla for example), the calling page is still displayed, and with some others (firefox for example), a new blank page is displayed (and I don't want). Any ideas about the problem ? How to solve it ? Best regards,

« previous php.general (#221950) next »