Example
<?php
echo gregoriantojd (2 , 2 , 14 )
?>
Output
1726206
Example
<?php
echo gregoriantojd (2 , 2 , 14 )
?>
Output
1726206
Example
<?php
echo frenchtojd(4,4,12);
?>
Output
2379951
Example
<?php
echo easter_days(1984);
?>
Output
32
Example
<?php
echo date(“M-d-Y”, easter_date(1984));
?>
Output
Apr-22-1984
Example
<?php
echo cal_to_jd(CAL_GREGORIAN,05,17,1984);
?>
Output
2445838
Example
<?php
echo “<pre>”;
$calInfo = cal_info(CAL_GREGORIAN);
print_r($calInfo);
?>
Output
Array
(
[months] => Array
(
[1] => January
[2] => February
[3] => March
[4] => April
[5] => May
[6] => June
[7] => July
[8] => August
[9] => September
[10] => October
[11] => November
[12] => December
)
[abbrevmonths] => Array
(
[1] => Jan
[2] => Feb
[3] => Mar
[4] => Apr
[5] => May
[6] => Jun
[7] => Jul
[8] => Aug
[9] => Sep
[10] => Oct
[11] => Nov
[12] => Dec
)
[maxdaysinmonth] => 31
[calname] => Gregorian
[calsymbol] => CAL_GREGORIAN
)
Example
<?php
echo “<pre>”;
$day = unixtojd(mktime(0, 0, 0, 5, 17, 1984));
print_r(cal_from_jd($day, CAL_GREGORIAN));
?>
Output
Array
(
[date] => 5/17/1984
[month] => 5
[day] => 17
[year] => 1984
[dow] => 4
[abbrevdayname] => Thu
[dayname] => Thursday
[abbrevmonth] => May
[monthname] => May
)
Example
<?php
$number = cal_days_in_month(CAL_GREGORIAN, 2, 1984);
echo $number.” days”;
?>
Output
29 days
ezmlm is a software package for managing electronic mailing lists by Daniel J. Bernstein. It is similar to GNU Mailman and Majordomo but only works with the qmail mail transfer agent. It is released into the public domain.The latest version, 0.53, came out in 1997. The ezmlm-idx patches add modern features like MIME handling.
ezmlm provides all of the common electronic mailing list functionality: moderated lists, automated subscription and unsubscription, and digest creation. ezmlm takes advantage of the features of qmail to enable ordinary users to create and to manage mailing lists, without need for superuser privileges .
Example
<?php
$headers = “MIME-Version: 1.0n”;
$headers .= “Content-type: text/html; charset=iso-8859-1n”;
$headers .= “From: from@phpcodez.comn”;
$headers .= “Return-Path: info@phpcodez.comn”;
$headers .= “Return-Receipt-To: info@phpcodez.comn”;
@mail(“info@phpcodez.com”,”Test”, “Test Mail”, $headers);
?>