added phpinfo and a user agent check