Re: links into DB
| From: | Kevin Stone | Date: | Tue, 10 Sep 2002 17:36:51 +0000 |
| Subject: | Re: links into DB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115870@lists.php.net to get a copy of this message | ||
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" <juque@uct.cl>
To: <php-general@lists.php.net>
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:myemail@blabla.bla sentence)
>
> Any idea?
> thanks
>
> ________________________________________________________
> Juan Pablo Aqueveque <juque@uct.cl>
> 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
>