[Simplog-devel] Security patch for doc/index.php
Brought to you by:
f-bomb
From: Jim Hu <ji...@ta...> - 2006-04-13 15:27:40
|
Easy solution, new version of doc/index.php. <?php include("../lib.php"); include("../header.php"); ?> <h3>Online Documentation</h3> <li><b><a href="index.php?s=admin">Administration/Installation Guide</ a></b> <li><b><a href="index.php?s=user">User's Guide</a></b> <p> <?php if(isset($_REQUEST['s'])) { switch ($_REQUEST['s']){ case 'admin': include("admin.html"); break; default: include("user.html"); } } ?> </p> <?php include("../footer.php"); ?> ===================================== Jim Hu Associate Professor and Associate Head for Graduate Programs Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054 |