本文整理匯總了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 ");
?>