Posted by Christoph Burschka on 11/18/06 09:37
jaschreiber@gmail.com wrote:
but even when
> i dumb that down to the following i get errors:
>
> <?php
> header("Content-type: text/xml");
> echo '<LOGINREPLY STATUS="OK" SESSIONID="dsljdlkjfasdlkjfaldkjflakdsj"
> />';
> ?>
>
> any ideas on what the problem is??
> sorry this was so rambling.
> Jason
>
This sample script causes an error when loaded in the browser?
Make sure the "<?php " is at the absolute beginning of the document - no blank spaces or lines anywhere. Headers can only be sent before any output is written.
What is the error message you get?
--
If the error occurs when parsing the response from within Flash, perhaps the content type needs to be set differently. Have you tried "application/xml"? This is just guesswork, however.
Navigation:
[Reply to this message]
|