Hi,
if you are going to use the $SERVER[] array like this, why not go the whole hog and use $_SERVER[‘QUERY_STRING’] to get the parameters, instead of going through the file_get_contents() which seems (slightly) more complicated ?