online contact form writing details to linux file

Completed Posted May 31, 2012 Paid on delivery
Completed Paid on delivery

Hi,

I have a mobile website page that I would like a contact page added to, it needs to show name, email, telephone and comment with name and email being the compulsory fields. When you hit submit it goes to another page that I will provide.

The data I would then like to write to a file on the linux unit which is located at var/log/messages

It should be written like this

date : time : html page name : name : email : telephone : comment

example of the data is shown below:

May 31 13:40:05 (none) [url removed, login to view] pppd[1141]: In file /etc/ppp/peers/gprs: unrecognized option '/dev/ttyUSB0'

May 31 13:42:53 (none) [url removed, login to view] ntpd[806]: adjusting local clock by [url removed, login to view]

May 31 13:44:52 (none) [url removed, login to view] ntpd[806]: adjusting local clock by [url removed, login to view]

May 31 13:49:08 (none) [url removed, login to view] ntpd[806]: adjusting local clock by [url removed, login to view]

May 31 13:50:01 (none) [url removed, login to view] crond[797]: crond: USER root pid 1198 cmd /etc/init.d/network pppdcheck

May 31 13:50:01 (none) [url removed, login to view] kernel: pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0

May 31 13:50:05 (none) [url removed, login to view] pppd[1205]: In file /etc/ppp/peers/gprs: unrecognized option '/dev/ttyUSB0'

May 31 13:50:37 (none) [url removed, login to view] ntpd[806]: adjusting local clock by [url removed, login to view]

May 31 13:52:59 (none) [url removed, login to view] lighttpd[802]: [url removed, login to view] - "GET /[url removed, login to view] HTTP/1.1" 404 345

May 31 13:53:09 (none) [url removed, login to view] lighttpd[802]: [url removed, login to view] root "GET /setup HTTP/1.1" 200 2402

May 31 13:53:09 (none) [url removed, login to view] lighttpd[802]: [url removed, login to view] - "GET /[url removed, login to view] HTTP/1.1" 404 345

May 31 13:53:11 (none) [url removed, login to view] lighttpd[802]: [url removed, login to view] root "GET /setup?r=advanced HTTP/1.1" 200 3593

HTML5 jQuery / Prototype Linux Mobile App Development

Project ID: #1668602

About the project

3 proposals Remote project Active Jun 1, 2012

Awarded to:

stevensow

Thanks & Best Regards, sow

£30 GBP in 1 day
(10 Reviews)
4.1

3 freelancers are bidding on average £100 for this job

prolanzer

Ready to start. PM sent.

£50 GBP in 2 days
(12 Reviews)
4.5
Austinrock

HELLO SIR PLEASE CHECK PMB

£220 GBP in 3 days
(0 Reviews)
0.0