还是不行大神们,救救我吧
时间:2021-07-01 10:21:17
帮助过:14人阅读
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
$date = date('H:i, js F Y');
?>
Sportman - Order Results
Sport
$outputstring =“nihao31456”
//open file for write
$fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt",'a');
//flock($fp, LOCK_EX);
if (!$fp){
echo "提交失败/strong>";
exit;
fwrit($fp, $outputstring, strlen($outputstring));
flock($fp, Lock_UN);
fclose($fp);
echo"OK^_^";
}
?>