Okay, I think I know what the person that told you to add the ?=time thing meant.
Revert your PHP back to the original stuff. We'll start from the beginning. So your flash is now calling somescript.php to get the text contents. You might want to rather call somescript.php?time=1 that way the response isn't from the cache. The ?time= would mean that what you're getting is variable, so it shouldn't use the cache.
Now, your PHP file doesn't need to do anything with that $_GET['time'] variable. Inside your php, you just need to make sure you open the file, read the contents, and output the response you need.
One thing you could do is send the Cache-Control header along with the "Pragma: no-cache" (for HTTP/1.0 compatibility).
So your response might look something like:
<?php
// Get the file contents...
$contents = file_get_contents('somefile.txt');
if($contents === false)
$contents = 'Cannot open file';
header('Pragma: no-cache');
header('Cache-Control: no-cache');
echo '&textstr='.$contents;
Hope that helps.