Home > php教程 > php手册 > body text

VML绘图板④简化的服务器端--server.php、server.asp

WBOY
Release: 2016-06-21 09:09:36
Original
1092 people have browsed it

server|服务器

服务器端
************
* server.php
************
$s = $HTTP_RAW_POST_DATA;
$t = gettimeofday();
$n = $t[sec].$t[usec];
$filename = "vml/" .$n. ".txt";
$fp = fopen($filename,"w");
fwrite($fp,$s);
fclose($fp);
echo $s;
?>

************
* server.asp
************

Response.expires=-1
dim xmlrec
set xmlrec=server.CreateObject("microsoft.xmldom")
xmlrec.async=false
xmlrec.load(Request)
xmlrec.save Server.MapPath(".")&"\xxxx.xml"
%>



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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!