<?php include("calender_class.php"); $year=$_POST["year"]; $month=$_POST["month"]; $pixel=$_POST["width"]; $C=new calender($year, $month); $day=$C->calculate_first_day(); //print $day; $W=new writer_to_file(); $W->create_stream($day, $month, $year, $pixel); $W->Hprint(); ?> <a href="index.php">back</a>