This is an old revision of the document!


If you wish to automatically login visitors to FileRun without asking them to fill in the login form, there are two ways:

http://YOUR-SITE.COM/FILERUN/?page=login&action=login&nonajax=1&username=USERNAME&password=PASSWORD

Redirect users to a PHP script like this:

<?php
//start FileRun session
session_name('FileRunSID');
session_start();
 
$username = "admin";
 
//set logged in username
$_SESSION['FileRun']['username'] = $username;
 
//You are now logged in as $username
 
//Redirect to FileRun:
header('Location: https://www.your-site.com/filerun/');
  1. Copy the above code inside a file named “autologin.php” and place it inside the FileRun installation folder.
  2. Edit to code to match the desired FileRun username and the URL of your FileRun installation.
  3. Access the URL of the created file (“http://www.your-site.com/filerun/autologin.php”)