Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

Hello. I'm trying to integrate SuperContainer into a PHP-based site, but I'm having trouble creating the new SuperContainer object. SuperContainer version is 2.792. I created a test page with the following:

<?php



	require_once 'supercontainer.php';



	$SC_BASE_URL = 'http://localhost:8020/SuperContainer/Files';

	$SC_USERNAME = 'username';

	$SC_PASSWORD = 'password';

	$sc = new SuperContainer($SC_BASE_URL, $SC_USERNAME, $SC_PASSWORD);

	if ($sc->getError()) die('Could not connect to SuperContainer server: ' . $sc->getError());



?>

I verified that the configured username and password match the above, but I always get the result "The requested URL returned error: 401".

It doesn't seem to matter what value I use for the password. If I configure SC with a username but no password, I can use the above (with an empty string as the value for $SC_PASSWORD) successfully.

What am I doing wrong?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.