Forums

Can Chronoforms do this?

NotReal 17 Aug, 2011
Here is what I would like to do.

Create a form with several simple questions where the user would input their answer. The data would then be stored in a database where I could EASILY generate a txt file where the data for each record would be on one line, formatted the way I want it to

Can chronoform do this?
GreyHead 17 Aug, 2011
Hi NotReal,

Yes. Though the EASILY bit for outputting a text file depends on your requirements and coding experience.

Bob
NotReal 17 Aug, 2011
Thanks for the info Bob

The text file would look similar to this
[07.09.2011 03:19:47] 451ad407ad4a3c8057933a439e9e35c3 "Cyclik-PRO" "109.61.*.*" VIOLATION (GAMEHACK) 80477

[07.09.2011 04:23:57] 3b8bc7a6ae15bc862bbd054aefc37c83 "NaTeDaWg1" "79.97.*.*" VIOLATION (MULTIHACK) 70805

[07.10.2011 12:54:13] 2b9cc9417e17b3eac1e782ddccbaf15f "2322" "94.255.*.*" VIOLATION (MULTIHACK) 70805


I used to be pretty good working with FileMaker Pro and I thought about setting up a database that way, but then I would have to re enter all the data twice. If chronofroms will work it will really save me some time. Can you point me in the right direction regarding some documentation on how to achieve this?
GreyHead 19 Aug, 2011
Hi NotReal,

You can do this with fairly simple PHP. Open a file for writing, loop through the records, build the string and write it as a new line to the file.

Bob
NotReal 19 Aug, 2011
I played around with it a bit yesterday and I think I can get it to do what I want. Once I have created the form and it writes to my website database, I can access the database from my computer (odbc) with filemaker or microsoft access and import all the data. From there it is a simple matter to format it the way I want and then I can generate my list

I will have to try to play around with php - but I know very little about it. Thanks for your help
This topic is locked and no more replies can be posted.