Update TXT files?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 5, 2009   (RSS)

Re: [aussierivers] Update TXT files?

By Chris - August 5, 2009

Hi aussierivers,

If you are able to change your flash file so that it requests a URL (getURL in AS2, URLRequest in AS3) from your web server instead of opening a file directly, this would be possible. It would then be a simple matter of setting up a Single Record Section with a bare-bones Viewer which only outputs your content field, having no HTML at all. You'll also want to change your Field Type from wysiwyg to text box to eliminate the <p> tags in your output.

Your Viewer will look something like this:

<?php header('Content-type: text/plain; charset=utf-8'); ?>
<?php

...
?>
<?php echo $flash_inputRecord['content'] ?>


Please let me know how things are going, and I hope this helps!
All the best,
Chris