<?php
$conn=pg_pconnect("dbname=emec2 user=postgres"); 

$commentarios=trim($commentarios);
$longcomment=strlen($commentarios);
if ($longcomment !=0)  {
$commentarios=addslashes($commentarios);
$mailc1=mail("c1@funredes.org", "commentarios del miembro $memid", $commentarios);
if ($mailc1) {

header ("Location: http://funredes.org/mistica/bdd/cv/members.html");

}
?>
