Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

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.

As if a space smart ;-)

Featured Replies

I was a little bit fashion to try both Carbo 6.0.1 and Carbo 6.0.2, but found both omitted a space smart ;-)

I mean, the omitted space in the definition of function 'port_in_use()' in file 'UniServer/unicon/main/includes/functions.php' ... At least in the Nano 5.6.X series, the space counts; but in the new Carbo 6.0.X, it may lead to ridiculous and erroneous 'port in use' message for just something listens on 0.0.0.0:80X or 0.0.0.0:80XX ...

In order to fix that without interfering with other parts, I applied this patch:

--- Carbo_6_0_2/UniServer/unicon/main/includes/functions.php	2010-08-13 01:25:56.453125000 +0800
+++ Carbo_6_0_2/UniServer/unicon/main/includes/functions.php	2010-08-13 01:25:56.453125000 +0800
@@ -873,6 +873,7 @@
// Input:  Port number Output: true - in use false - free to use 
function port_in_use($port){
 $list = shell_exec("netstat -anp tcp"); // Get output list as sring 
+	if( strpos( $list, '0.0.0.0:' . $port . ' ' ) )	return true;
 if(strpos($list,'0.0.0.0:'.$port)){	 // Check for match
return true;						  // Found match Port already in use
 print "\nA==A match =\n";

It adds nothing but a single line begins with a plus ;-)

Thanks for the post, it is a bug and will be fixed in next release.

All the best

Ric :)

  • Author

Yeah, I have tested the Carbo_6_0_3 on my box, it works well ;-)

 

Thanks

 

Thanks for the post, it is a bug and will be fixed in next release.

All the best

Ric :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

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.