Re: [Simplog-devel] Security patch for doc/index.php
Brought to you by:
f-bomb
|
From: Jeremy A. <ash...@13...> - 2006-04-13 16:56:48
|
thanks jim.
I've got patches for the rest of the files as well.....
I'll post them today as well as a response to his post on the security
focus list.
Jim Hu wrote:
> 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
>
>
|