header, location: mailto abd browsers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

I have a little problem with this kind of script :

<?php
function mailto ($addr) {
     Header ("Location: mailto:$addr";);
}

mailto("somebody@xxxxxxxxxxxxx");
?>

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,

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux