il problema era dovuto a $HTTP_GET_VARS che ho sostituito con $_GET