[pmwiki-users] adding a new user and max upload size

Patrick R. Michaud pmichaud at pobox.com
Sun Sep 23 17:52:32 CDT 2007


On Sun, Sep 23, 2007 at 05:48:17PM -0400, Deano wrote:
> I had problem creating an additional user for the wiki.
> When I past the code:
> include_once("$FarmD/scripts/authuser.php");
> newuser: (:encrypt password:)

The text for creating the user goes into the SiteAdmin.AuthUser
page, not into the config file.

If you want to configure users from the config file, it can be
done with:

    $AuthUser['newuser'] = crypt('password'):
    include_once("$FarmD/scripts/authuser.php");

> I was also wanted to increase the size of the upload
> but all I found in the documentation was a variable
> name. Where do I work with that variable and what's
> the syntax?

For example, to increase the maximum upload size to
10 megabytes, add the following to config.php:

    $UploadMaxSize = 10000000;

See the information about $UploadMaxSize in the middle of
the http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin page.

Pm



More information about the pmwiki-users mailing list