Please tell me this is possible.

Blitz3D Forums/Blitz3D Beginners Area/Please tell me this is possible.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can do whatever you need to do - it depends on the exact task you have in mind. When I've used ETNA, I've tended to need it for database (MySQL) operations on the called PHP page, so I'm not so experienced with manipulating text files so I can't guarantee that my line of thinking is the best, but I do know it would work:

- Blitz uses ETNA to call a PHP script which wipes the text file
- Blitz (ETNA) uses a FOR loop to send lines one at a time to a second PHP script which adds the lines to the text file

There may be better ways. If the text file is small, everything could be handled by a single script, with the contents of the whole text file sent at once.

There's no rocket science to any of this but a bit of (worthwhile) time and effort is required to learn this since it will be completely new to you.