Forums

incrementing a counter in a text file (1 post)

  1. danatbird
    Member
    Posted 2 years ago #

    I'm moving our company intranet to a WordPress platform. One of the features on the old site was a very simple support ticket system - the end user refuses to change to something more sophisticated. It uses an old formmail cgi script to send the support ticket through email - and I have that part working fine. But it also included a counter that served as the ticket number in the email. On the old system, that was accomplished with some php code. I haven't been successful in doing that from within WordPress. I've also tried some old execcgi methods, and can't get that work, either.

    I just need a simple text file that stores the counter at the OS level - and then what sort of code will work within WordPress to increment that counter when the end user clicks the submit button.

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic