If you have a server without root account, and php.ini
with register_globals = on you can use phpwiki simply:
add in admin.php:
$PHP_AUTH_USER = $_SERVER["PHP_AUTH_USER"];
$PHP_AUTH_PW = $_SERVER["PHP_AUTH_PW"];
$zip = $_GET["zip"];
$lock = $_GET["lock"];
$unlock = $_GET["unlock"];
$remove = $_GET["remove"];
after "<?php" text
add in index.php:
$QUERY_STRING = $_SERVER["QUERY_STRING"];
$argv = $_SERVER["argv"];
$edit = $_GET["edit"];
$links = $_GET["links"];
$copy = $_GET["copy"];
$search = $_GET["search"];
$full = $_GET["full"];
$refs = $_GET["refs"];
$info = $_GET["info"];
$diff = $_GET["diff"];
$content = $_POST["content"];
$post = $_POST["post"];
$editversion = $_POST["editversion"];
$r1 = $_POST["r1"];
$r2 = $_POST["r2"];
$r3 = $_POST["r3"];
$r4 = $_POST["r4"];
$r5 = $_POST["r5"];
$r6 = $_POST["r6"];
$r7 = $_POST["r7"];
$r8 = $_POST["r8"];
$r9 = $_POST["r9"];
$r10 = $_POST["r10"];
$r11 = $_POST["r11"];
$r12 = $_POST["r12"];
after "<?php" text
I don't know if phpwiki need more variables, but in this
way it seems weel enough
Logged In: YES
user_id=358321
Hello "nobody". I guess you meant register_globals = off.
Anyway, I'm using phpWiki 1.3.7 and it doesn't matter wheter
register_globals is on or off. The code seems to be made to
use superglobals ($_GET['var'] instead of $var). If you have
trouble with your installation maybe have to look elsewhere.
As a side note, there's a very good posts about register
globals at http://cl2.php.net/register_globals
Take a look there, I'm sure you'll learn a lot of useful
things as I did.