Letters - Codsall Community High School, Staffordshire
51
page-template-default,page,page-id-51,ajax_fade,page_not_loaded,,qode_grid_1200,qode-child-theme-ver-1.0.0,qode-theme-ver-10.1.1
 

Letters

Below you will find links to the most recent newsletters and letters sent to students. These are in PDF format. You will need a PDF reader, such as Adobe Acrobat, to view the documents.

If, as a parent of a pupil attending this school, you require a paper copy of the information on this website, we shall provide this free of charge.

[insert_php]
//echo “Test”;
$dir = ‘/var/www/pdf/externalFiles/Codsall/Letters’;

$files1 = scandir($dir);
$htmldir = str_replace(“/var/www”, “..”, $dir);

$myarray = glob($dir . “/*.pdf”);
array_multisort(array_map(‘filemtime’, $myarray), SORT_NUMERIC, SORT_DESC, $myarray);

echo “

    “;

    foreach ($myarray as &$file) {

    $file = basename($file);

    $ext = substr($file, strrpos($file, ‘.’) + 1);
    if($ext==”pdf”){
    $fileName=substr($file, 0, -4);
    echo “

  • » ” . $fileName . “
  • “;
    }
    }
    echo “

“;
[/insert_php]