Ejemplo n.º 1
0
function emailadminsvelog($konu, $mesaj, $baslikbilgisi = "")
{
    logyaz($konu . $mesaj);
    emailadmins($konu, $mesaj, $baslikbilgisi);
}
Ejemplo n.º 2
0
								</body>
								</html>
								';
                $headers .= 'MIME-Version: 1.0' . "\r\n";
                $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
                $headers .= 'From: ChrisSiena.com@ChrisSiena.com' . "\r\n";
                $headers .= 'Return-Path: return@ChrisSiena.com' . "\r\n";
                $headers .= 'X-Mailer: PHP/' . phpversion();
                mail($to, $subject, $message, $headers, '*****@*****.**');
                mysqli_close($conn);
            }
            $sql = "SELECT RowID FROM UserAccounts WHERE Owner='1' OR Administrator='1'";
            $result = mysqli_query($conn, $sql);
            if (mysqli_num_rows($result) > 0) {
                while ($row = mysqli_fetch_assoc($result)) {
                    emailadmins($row['RowID'], $newticketid);
                }
            }
        }
    } else {
        $text = "The title and/or description was empty.<br /><br />";
    }
    $title = strip_tags(stripslashes(trim($_POST['title'])));
    $desc = $_POST['desc'];
}
mysql_close($conn);
?>
<!doctype html>
<html>
<head>
<title><?php