Page 1 of 1

Notification when any page is modified

Posted: Thu Jan 21, 2016 11:26 pm
by kituser
HI great day to every one.

please suggest me about the folloing issued i am facing.

I have web form which takes the user comments and save that comment in a txt file with his name.
when the user logins again and enter new comment even that is appended to the previous file.

Now what i need is if every time that .txt file is modified I should receive an alert saying file modified.

KIndly someone suggest this to me as soon as possible, as i am newbie and this is very important

Thanks to all,

MAY GOD BLESS YOU!

Re: Notification when any page is modified

Posted: Fri Jan 22, 2016 7:23 am
by Celauran
Sounds like a database would be a better fit than text files. That aside, why not write a simple function that emails you and have it triggered when the file is written to or the database is updated?