Просмотр файла eg.php

Размер файла: 2.35Kb
<?php include "protect.php"; ?>
<?php
/////////////////////////////////////////////////////
//                                                 //
//                 PHPPageProtect                  //
//                    V 1.0.0                      //
//                                                 //
//                 Copyright 2002                  //
//                  David Broker                   //
//            http://php.warpedweb.net/            //
//              All Rights Reserved                //
//                                                 //
//          In using this script you               //
//           agree to the following:               //
//                                                 //
//      This script may be used and modified       //
//              freely as long as this             //
//             copyright remains intact.           //
//                                                 //
//     You may not distibute this script, or       //
//           any modifications of it.              //
//                                                 //
//   A link must be provided on the website that   //
//             uses the script to:                 //
//          http://php.warpedweb.net/              //
//                                                 //
//      Any breaches of these conditions           //
//        will result in legal action.             //
//                                                 //
//      This script is distributed with            //
//        no warrenty, free of charge.             //
//                                                 //
/////////////////////////////////////////////////////

// This page shows an example of how to use the script 
// and it's various functions.
?>

<html>
 <head>
  <title>
Example page
  </title>
 </head>
 <body style="font-family:arial;text-align:center;">
<h1><i>Examples of available functions:</i></h1>
<h4>
<i>print_name():</i>
<br>Hello <? print_name(); ?>!
<br>
<br><i>print_username():</i>
<br>Your username is "<?php print_username(); ?>".
<br>
<br><i>print_logout_url():</i>
<br>The logout page is <a href="<?php print_logout_url(); ?>">here</a>.
<br>
<br><i>print_first_page_url():</i>
<br>A link to the <a href="<?php print_first_page_url(); ?>">first page</a>.</h4>
 </body>
</html>