芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/opt/RZphp80/includes/doc/Auth_HTTP/docs/test_digest_post.php
DSN, 'authType'=>'digest'); $auth = new Auth_HTTP("DB", $options); $auth->setRealm('dummy', 'sample'); $auth->start(); ?>
HTTP digest authentication for POST method
getAuth()) { print <<
EOS; } if (!empty($_POST['title'])) {echo 'POST:Title: '.$_POST['title'].'
';} if (!empty($_GET['foo'])) {echo 'GET:foo: '.$_GET['foo'].'
';} print "METHOD: ".$_SERVER['REQUEST_METHOD']."
"; ?>