Is there an implementation of sendmail on freepgs that I could use?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
// get components of a date
$day = $_POST['day'];
$month = $_POST['month'];
$year = $_POST['year'];
// add the compnents of date to make a real date
$date = "$day-$month-$year";
// get components of a time
$hours = $_POST['hours'];
$minutes = $_POST['minutes'];
// add the components of time to make a real time
$time = "$hours:$minutes:00";
// get the place
$place = $_POST['place'];
// get the comments
$comments = $_POST['comments'];
// need to convert date and time on their own into a Timestamp
// so concatenate them, then use strtotime to convert them into a
// timestamp, and store this in a new variable.
$datetime = "$date $time GMT";
echo $datetime;
$gigdate = strtotime($datetime, 0);
echo $gigdate;
$gigdate1 = strftime('%H %M %d %m %Y', $gigdate);
echo $gigdate1;
21-06-2006 21:00:00 GMT
1795813200
13 00 27 11 2026