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

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

WBOY
Release: 2016-06-23 13:51:41
Original
1018 people have browsed it

$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^_^";
}
?>

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template