Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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.

SOLVED: Need a "raw" output option

Featured Replies

Tom, I was creating a simple app to return MdCmd status, so you could do something like:

 

http://tower/Utils/MdCmd?cmd=status

 

and have it return a text header and just the text  "OK" via php (or whatever the status is).

 

But the way the plugins are handled, the server wraps the header and other HTML around the output.

 

What would be useful is a "raw" mode for a plugin, so that a plugin has more control over what it returns to the client.

 

Alternatively, we are back to either installing a web server like lighttpd or using a respawned awk pseudo-daemon.

  • Author

Tom posted in another thread that you can call php code directly by including the file extension on the URL, so

 

http://tower/Utils/MdCmd.php?cmd=status

 

Will run the php code like a regular web server.

 

But that way, there is no access to the php vars related to the array/server status.

 

Tom, is there possible some include we can add to our php code that would provide those arrays?

  • Author

Yup!  ::)  For some reason I couldn't find this post... I couldn't remember which thread it was in!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

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.