Basic Template for New PHP File

Copy the text below and paste into a blank php file.

<?php
ini_set('display_errors',1);
error_reporting(E_ALL);
//ini_set("auto_detect_line_endings", true);
//header('Content-type: text/html; charset=utf-8');

if(!isset($_POST['formname_1']) || !isset($_POST['formname_2'])) {
    print "Go away!";
    exit();
}

// do something with the post data

?>
Copyright © Lage.us Website Development | Disclaimer | Privacy Policy | Terms of Use