It's a GET request right?  So it'll be just like any other Location header.
mailtolinks.php will contain..

<?
extract($_GET);
// get email $addy that corresponds to $id. //
header("Location: mailto:$addy";);
?>

-Kevin

----- Original Message -----
From: "Juan Pablo Aqueveque" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 4:51 AM
Subject: [PHP] links into DB


> Hi all,
>
> I want to do this:
> When somebody do click in this url :
> http://somehost.somedomain/mailtolinks.php?id=45
> the script 'mailtolinks.php' should open my e-mail client (like
> mailto:[EMAIL PROTECTED] sentence)
>
> Any idea?
> thanks
>
> ________________________________________________________
> Juan Pablo Aqueveque <[EMAIL PROTECTED]>
> Ingeniero de Sistemas
> Departamento de Redes y Comunicaciones http://www.drc.uct.cl
> Universidad Católica de Temuco.
> Tel:(5645) 205 630 Fax:(5645) 205 628
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to