本文整理汇总了PHP中myclass::send_email_to_user方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::send_email_to_user方法的具体用法?PHP myclass::send_email_to_user怎么用?PHP myclass::send_email_to_user使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::send_email_to_user方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: myclass
require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
require "fs_folders/php_functions/myclass.php";
$mc = new myclass();
if (isset($_POST['submit'])) {
// echo "submit clicked!";
$invited_fn = $_POST['invited_fn'];
$invited_ln = $_POST['invited_ln'];
$invited_email = $_POST['invited_email'];
$invited_wob = $_POST['invited_wob'];
$invited_occu = $_POST['invited_occu'];
$invited_style = $_POST['invited_style'];
$invited_offer = $_POST['invited_offer'];
$mc->insert_invited($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$mc->send_email_to_admin($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$mc->send_email_to_user($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$response_text = true;
} else {
$mc->get_visitor_info("", "invite");
$response_text = false;
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
$mc->header_attribute("Sign Up | Fashion Sponge", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>
示例2: myclass
require "fs_folders/php_functions/myclass.php";
$mc = new myclass();
$mc->auto_detect_path();
$mc->init_peoplebehindyou_peopleaheadofyou();
if (isset($_POST['submit'])) {
// echo "submit clicked!";
$invited_fn = $_POST['invited_fn'];
$invited_ln = $_POST['invited_ln'];
$invited_email = $_POST['invited_email'];
$invited_wob = $_POST['invited_wob'];
$invited_occu = $_POST['invited_occu'];
$invited_style = $_POST['invited_style'];
$invited_offer = $_POST['invited_offer'];
$mc->insert_invited($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$mc->send_email_to_admin($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
$mc->send_email_to_user($invited_fn, $invited_email);
$response_text = true;
} else {
$mc->get_visitor_info("", "invite");
$response_text = false;
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
$mc->header_attribute("Sign Up | Fashion Sponge", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "ootd | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>