yes sir, you are right. and this is my server side code. the html form is contact page. and I could see the form input data in form of arrays in my command prompt. where should i use/write the "fs. CREATE,APPEND and READ" commands in the below program? can you help me out. var express = require("express"); var bodyParser = require('body-parser') var app = express(); var urlencodedParser = bodyParser.urlencoded({ extended: false }) var router = express.Router(); var path = __dirname + '/views/'; router.use(function (req,res,next) { console.log("/" + req.method); next(); }); router.get("/contact",function(req,res){ res.sendFile(path + "contact.html"); }); router.post("/contact",urlencodedParser,function(req,res){ console.log(req.body) res.sendFile(path + "contact.html"); }); app.use("/",router); app.use("*",function(req,res){ res.sendFile(path + "404.html"); }); app.listen(3000,function(){ console.log("Live at Port 3000"); });