-
Notifications
You must be signed in to change notification settings - Fork 6
/
do_send.php
28 lines (24 loc) · 958 Bytes
/
do_send.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* @package do_send.php
* @author John Doe <[email protected]>
* @since 2009-03-08
* @version 2010-07-28
*/
/*
3/8/09 initial release - simply a way to connect an XHR call to the server-side function
7/28/10 Added inclusion of startup.inc.php for checking of network status and setting of file name variables to support no-maps versions of scripts.
*/
error_reporting(E_ALL);
@session_start();
require_once($_SESSION['fip']); //7/28/10
//dump($_GET);
//dump($_POST);
//do_send ($to_str, $subject_str, $text_str ) ;
// var postData = "to_str=" + the_to +"&subject_str=" + the_subj + "&text_str=" + the_msg; // the post string
//snap(basename(__FILE__) . __LINE__, $_POST['to_str'] );
//snap(basename(__FILE__) . __LINE__, $_POST['subject_str'] );
//snap(basename(__FILE__) . __LINE__, $_POST['text_str']);
do_send ($_POST['to_str'], $_POST['subject_str'], $_POST['text_str'], 0, 0 ) ;
//snap(basename(__FILE__) . __LINE__, 0);
print "";