Home  >  Article  >  Backend Development  >  还是不行大神们,救救小弟我吧

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

WBOY
WBOYOriginal
2016-06-13 12:04:39944browse

还是不行大神们,救救我吧
$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^_^";
}
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn