Home>

A person who has recently set up a self-made server at sentos7.
If the php page that works normally on a rental server etc. is a self-made environment, the file can be obtained successfully, but if it is created, it will not work properly. Also, no error will occur. (There is no permission error.)
Do I need to set anything in php.ini?
Please professor

<? php
$howmany = $_GET ["howmany"];
list ($puren, $ooba, $cheese, $number, $kimuti) = preg_split ("[-]", $howmany);
$nextordernumber = "./ ordernumber /".$number;
$trueorfalse = touch ($nextordernumber);
$hour = date ("H");
$minute = date ("i");
if ($minute<30) {
$minutes = '00 ';
} else {
$minutes = '30 ';
}
echo '<html>~ abbreviated ~</html>';
$orderfile = "./orders/".$number.".txt";
$cashfile = "./cash/".$number.".txt";
$cashingfile = "./cashing/".$number.".txt";
$presentfile = "./presenter/".$number.".txt";
$timesale = './halfhour/'.$hour.''.$minutes.'/'.$number.'.txt';
$makingfile = touch ($orderfile);
$current = file_get_contents ($orderfile);
$current = 'order'. $number. '<br />plain'. $puren. '<br />large leaf'. $ooba. '<br />cheese'. $cheese. '<br />Kimchi '. ​​$kimuti.'<br /><hr width = "100%" size = "4" color = "black">';

$currentcash = 'order'. $number. '<br />plain'. $puren. '<br />large leaf'. $ooba. '<br />cheese'. $cheese. '<br />Kimchi '. ​​$kimuti.'<br />
<input type = "button" onclick = "startcash '. $number.' ()" value = "Accounting NO. '. $number.'"><script>
function startcash '. $number.' () {
location.href = "cashing.php? value = '. $number.'";
}
</script><hr width = "100%" size = "4" color = "black">';
$presenters = '<style>a {color: black;text-decoration: none;}</style><a href = "./ presentserve.php? value ='. $number. '">&lt ;div>order '. $number.'<br />plain '. $puren.'<br />large leaf '. $ooba.'<br />cheese '. $cheese.'&lt ;br />Kimchi '. ​​$kimuti.'<br />
<hr width = "100%" size = "4" color = "black">
</div></a>';
$timedetail = ''. $puren .'- '. $ooba .'-'. $cheese .'- '. $kimuti.' ';
$currentcasher = ''. $number .'- '. $puren .'-'. $ooba .'- '. $cheese .'-'. $kimuti. '';
file_put_contents ($orderfile, $current);
file_put_contents ($cashfile, $currentcash);
file_put_contents ($cashingfile, $currentcasher);
file_put_contents ($presentfile, $presenters);
file_put_contents ($timesale, $timedetail);
?>