• Sign in

ASP / e_event · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • e_event
  • LWS
  • 000
  • function
  • holiday.inc
  • 移行前e_event(LWS)
      1d2c573a
    山上 authored
    2016-12-15 09:35:08 +0900  
    Browse Files »
holiday.inc 335 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?PHP 
function fun_holiday($year,$month,$day)
{
  $ans = "false";
  $ddir = "data/day/";
  $Filename = $ddir."holiday.dat";
  $fp =@fopen($Filename,"r");
  $today = $year.fun_addzero($month).fun_addzero($day);
  while($buf=fgets($fp,9))
  {
    if ($buf == $today)
    
       {
        $ans = "true";
       }
  }
  return $ans;
}
?>