google-sheets-test.php


Quell Code


<meta name="google-signin-scope" 
      content="https://www.googleapis.com/auth/spreadsheets">
<meta name="google-signin-client_id" content="33931472622-h99gqq5qhjv99o732m4kkij6h73pdqfn.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
 
<div id="profile" style="margin: 0 20px;">
  <b class="name"></b><br/>
  <i class="email"></i>
</div>
<div class="g-signin2" data-onsuccess="onSignIn"></div>
<script>
function onSignIn(user) {
  var profile = user.getBasicProfile();
  $('#profile .name').text(profile.getName());
  $('#profile .email').text(profile.getEmail());
}
</script>


Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0