Home >Backend Development >PHP Tutorial >还是不行大神们,救救我吧

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

WBOY
WBOYOriginal
2016-06-23 13:51:411025browse

$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