That is because GET/POST variables are not set in the global scope by default in PHP in newer installs. It was changed starting on version 4 I think.
You need to access the variable like this
echo $_GET['text'];
or if it came from a POST form ...
echo $_POST['text'];
You can turn register_globals on in php.ini and have the variables registered automatically, but it isn't a good idea.