欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

还是不行大神们,救救我吧

程序员文章站 2024-01-23 16:51:58
...
$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^_^";
}
?>