Renzo Clavijo wrote:

>   <?php
>   if(isset($_REQUEST['send_mail'])){
>       mail($_REQUEST['address_mail'],$_REQUEST['subject']
$_REQUEST['message']);
>   }

I would try something like this:


  if(isset($_REQUEST['send_mail']))
        {
        mail($_REQUEST['address_mail'],$_REQUEST['subject']
$_REQUEST['message']);
        unset($_REQUEST);
        }

That should wipe all the variables in $_REQUEST before the user clicks
reload. It will not work on a global variable if you use it inside a
function. There are other ways to do the same thing, but I think that
should do it.

BMA

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

Reply via email to