I'm guessing you're passing it to a Php script? I'm not sure how it would work on the shell script side, but here is what you would do on the Php side:
content=`cat /Users/test1.txt`
Code:
<?php
if(isset($_GET['filecontent'])){
$content = $_GET['filecontent'];
echo $content;
}
?>
We can at least start at this point if you haven't gotten this far.