Bonjour,
est-il possible de faire des packages en PHP, comme en java ?
(un package rassemblant plusieurs classes)
Merci d'avance !
--
François
Forum Programmation.php Y'a-t-il des /packages/ en PHP, comme en java ?
8
juin
2008
function name_title($matches) // replace titles
{global $titres;$titres[]=array(strlen($matches[1]),preg_replace("/[^\da-z]/i","_",$matches[2]),$matches[2]);$i=count($titres)-1;return "".$titres[$i][2]."
";}
$CONTENT = (…)
logfile "/home/virtual/.maildrop.log"
`[ -d $DEFAULT ] || (maildirmake $DEFAULT && maildirmake -f Spam $DEFAULT && maildirmake -f sent-mail $DEFAULT && maildirmake -f SpamToLearn $DEFAULT && maildirmake -f SpamFalse $DEFAULT)`
if ( /^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*/ )
{
log "--> X-Spam-toohigh."
exception {
to /home/virtual/spamtrap@yent.eu/
}
}
if ( /^X-Spam-Flag: YES/ (…)