Location: PHPKode > scripts > BrowserID login with PHP > codepo8-BrowserID-login-with-PHP-facfc3a/verify.php
<?php

  $url = 'https://browserid.org/verify';
  $assert = $_POST['assert'];
  $params = 'assertion='.$assert.'&audience=' .
             urlencode('http://thewebrocks.com');
  $ch = curl_init();
  curl_setopt($ch,CURLOPT_URL,$url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
  curl_setopt($ch,CURLOPT_POST,2);
  curl_setopt($ch,CURLOPT_POSTFIELDS, $params);
  $result = curl_exec($ch);
  curl_close($ch);
  echo $result;

?>
Return current item: BrowserID login with PHP