Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10463

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Examples</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="radius.constants.vendor-specific.html">RADIUS Vendor Specific Attribute Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.radius.html">Radius Functions</a></div>
 <div class="up"><a href="book.radius.html">Radius</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="radius.examples" class="chapter">
 <h1>Examples</h1>

 
 <p class="para">
  Howto start?
  <ul class="itemizedlist">
   <li class="listitem"><span class="simpara">get a radius resource</span></li>
   <li class="listitem"><span class="simpara">configure the library</span></li>
   <li class="listitem"><span class="simpara">create the request</span></li>      
   <li class="listitem"><span class="simpara">put attributes</span></li>
   <li class="listitem"><span class="simpara">send the request</span></li>
   <li class="listitem"><span class="simpara">receive attributes</span></li> 
   <li class="listitem"><span class="simpara">close the radius resource (optional)</span></li>
  </ul>
  Take also a look at the examples in this package.
 </p>
 <p class="para">
  The package contains an example php script. This script demonstrates howto
  authenticate with radius using PAP or CHAP (md5). If you authenticate with 
  Microsoft Radius servers then its not possible to use CHAP (md5). If you
  would like to authenticate with Microsoft Servers you have to use
  MS-CHAPv1 or MS-CHAPv2, but its more complicated, because you need md4,
  sha1 and des to generate the right data. The enclosed examples demonstrate
  all authentication-methods, including MS-CHAPv1 and MS-CHAPv2. To get the
  MS-CHAP to work you need the <a href="ref.mcrypt.html" class="link">mcrypt</a> and
  the <a href="ref.mhash.html" class="link">mhash</a> extension, starting with
  version 1.2 of the package, the mcrypt extension is no longer needed.
 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="radius.constants.vendor-specific.html">RADIUS Vendor Specific Attribute Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.radius.html">Radius Functions</a></div>
 <div class="up"><a href="book.radius.html">Radius</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>