Reply to header, location: mailto abd browsers

Your name:

Reply:


Posted by Bernard Perrot on 09/07/05 12:37

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,

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация