FormBuilder: Flat file name by variable
Posted: Mon Oct 05, 2009 12:00 pm
Ok, I got this order system running, where you fill in a form, attach files etc. To that I've chosen to write all the orders to a flat file to keep some kind of a log.
Now though, we are trying to implement this fb system with our business system (importing csv/txt files). I'm however have trouble giving the files a variable name (i.e. based on date, id or whatever). In a perfect world you should have been able to just put {$orderid}.txt as the "Destination file" name. But now you can't.
So... is there any way to get around that? Prefarably with the Flat-file option.
- Save Flat-file as to 123456.txt for example {$orderid}.txt
- Or something similar..
How do the system store and fetch the filename information? Maybe I can sort it out manually in a simple.. even though Im limited in server sided coding skills
Now though, we are trying to implement this fb system with our business system (importing csv/txt files). I'm however have trouble giving the files a variable name (i.e. based on date, id or whatever). In a perfect world you should have been able to just put {$orderid}.txt as the "Destination file" name. But now you can't.
So... is there any way to get around that? Prefarably with the Flat-file option.
- Save Flat-file as to 123456.txt for example {$orderid}.txt
- Or something similar..
How do the system store and fetch the filename information? Maybe I can sort it out manually in a simple.. even though Im limited in server sided coding skills
