Do something like this server side:

<?php
        header('Content-type: text/csv');
        
        
// $csvData = ($_POST['csvdata']) ? $_POST['csvdata'] : $_GET['csvdata'];
        $csvData = $_POST['tsvString'];
        
        echo  $csvData;
?>

"csvdata" and "tsvString" are vars ( strings) that I set in my flashvars

Alan

On Dec 22, 2008, at 8:56 AM, valdhor wrote:

You need to send your data to some kind of server side code (Eg. PHP).
From your code, you are sending data to a text file. A text file has
no idea what to do with the data you are sending it (Actually, the
text file doesn't even see the data - text files are very
unintelligent as files go) so does nothing. Your code does exactly
what you told it to. It made the request to load the file. Once the
request is made the complete event fires and you get your message.

Reply via email to