Heim >Backend-Entwicklung >PHP-Tutorial >还是不行大神们,救救我吧
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT']; 提交失败/strong>";
$date = date('H:i, js F Y');
?>
Sport
$outputstring =“nihao31456”
//open file for write
$fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt",'a');
//flock($fp, LOCK_EX);
if (!$fp){
echo "
exit;
fwrit($fp, $outputstring, strlen($outputstring));
flock($fp, Lock_UN);
fclose($fp);
echo"OK^_^";
}
?>