Neowin Uptime Project Group


Recommended Posts

wow im just falling down the list, and BxBoy how did you get the extra stats?

EDIT: nvm i found it

<?
/*
Uptime-Project Profile XML-Parser

Version: 0.2
Date:   15.12.2003
Autor:   MeTRiX [metrix (a) uptime.0rD.net]
Support: http://uptime.0rD.net

Changelog
v0.2 15.12.2003
~ Optimierung fuer den Einsatz unter Windows
v0.1 02.08.2003
~ Erste Version


Skript ermoeglicht die Ausgabe von Uptime-Profil Daten auf beliebiger Website.
Wenn dieses Skript eingesetzt wird, bitte einen Link in Verbindung auf http://uptime.0rD.net einbringen.

WICHTIG:
Es muessen Schreibrechte auf die Temp-Datei existieren !
Bitte keine Aenderungen an der Cache-Funktion oder am Programmablauf vornehmen. Danke.
*/


// Variablendefinition ->>

// Uptime Project User-ID
$config[uid] = 1;
// (Path to) Temp-File
$config[tmp] = "uptime.dat";

// <<- Variablendefinition



// Programmablauf ->>

if(@filemtime($config[tmp]) <= time() - 3600 || @filesize($config[tmp]) == 0)
{
	$input_xml = @fopen("http://uptimedataserv.0rd.net/xml.php?uid=$config[uid]","r");
	$input = @fread($input_xml,2048);
	@fclose($input_xml);

	if($input)
	{
  $tmpfile = @fopen($config[tmp],w);
  if($tmpfile)
  {
 	 @fwrite($tmpfile,$input);
  }
  else
  {
 	 echo "Kann nicht in Temp-File schreiben. Fehlende Rechte.";
 	 exit;
  }
  @fclose($tmpfile);
	}

	unset($input,$input_xml,$tmpfile);
}

$tmpfile = @fopen($config[tmp],r);
$input = @fread($tmpfile,2048);

if($input)
{
	$parser = xml_parser_create();
	xml_parse_into_struct($parser,$input,$values);
	xml_parser_free($parser);

	$xml = array();

	foreach($values as $data)
	{
  if($data[tag] != "PROFILE")
  {
 	 $xml[strtolower($data[tag])] = $data[value];
  }
	}
}
else
{
	echo "Kann Temp-Datei $config[tmp] nicht lesen.";
	exit;
}

@fclose($tmpfile);
unset($tmpfile,$input,$parser,$values,$data);

// <<- Programmablauf


// Beispiel:
// Siehe fuer weitere Felder die XML-Datei.
echo $xml[username];
echo $xml[uptime];
?>

thats the php file u need to get the extra info on that BxBoy has i believe

Edited by TruBD

woah, almost forgot about this thread..

WTF is it calling me 'more' for - weird.

yeah, I get that too. It shows up as size|BxBoy :unsure:

let's all sneak into our universities/workplaces and install this baby on all their servers tonight :shifty:

i actually thought about that, i have access to the uni's made servers.. they have uptimes of 352+ days. ;)

You know what sucks, you can only have one uptime for each profile. That sucks, they should have the option where the user can monitor multiple uptimes (from different machines) under the same username. Because I have a lot of machines I would like to keep track of their uptimes.

wow im just falling down the list, and BxBoy how did you get the extra stats?

well, that's not what I did, I used something I wrote. But nonetheless, the ideas is similiar. I'm working on making a public server where everyone can use my script to get their stats. I will also do custom styles, so you can make your own styles (instead of using the default ones that they have). Other ideas in the works are random stat images, so instead of having just one default style, it will randomly pick the styles each time.

If anyone is interested in the project, let me know. :)

Edited by BxBoy
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Just saw a news report of a Waymo driving into a flooded road.
    • Password Safe 3.72.0 by Razvan Serea Password Safe is a password database utility. Like many other such products, commercial and otherwise, it stores your passwords in an encrypted file, allowing you to remember only one password (the "safe combination"), instead of all the username/password combinations that you use. Once stored, your user names and passwords are just a few clicks away. Using Password Safe you can organize your passwords using your own customizable references—for example, by user ID, category, web site, or location. You can choose to store all your passwords in a single encrypted master password list (an encrypted password database), or use multiple databases to further organize your passwords (work and home, for example). And with its intuitive interface you will be up and running in minutes. PasswordSafe was originally designed by the renowned security technologist Bruce Schneier and released as a free utility application. Password Safe 3.72.0 changelog: Fixed bugs Improved font scale handling - should resolve font size issues on high resolution displays. GH1749 In the Master Password Setup window, "Show Master Password" is no longer truncated on some displays. GH1092, SF1595 Size and position of main window is now correctly restored on scaled displays. SF1630 Keep password expiry date when both password and password expiry are changed; don't clear a non-recurring expiry when the password's changed. SF1628 Custom values can now be copied to the clipboard in read-only mode via Ctrl-C and right-click->Copy Value. New features GH1196 Dark display mode support: Password Safe now supports the system display mode, as well as setting the mode directly via Manage->Options->Display->Display Mode. This change also updates the general "look & feel" of the app to the current Windows theme. Known limitations: The Date picker and keyboard shortcut controls do not switch to dark theme The Customize Toolbar dialog does not switch to dark theme Custom Field support has been added to the more advanced features: Filters XML and Text import and export Comparison, Sync and Merge databases SF938 Custom field values may now be selected by name and copied via a "Copy Custom Field Value..." submenu in the entry context popup menu. SF936 Notes and Custom fields layout now overlap, selectable by tabs, resulting in a more compact and less cluttered layout. SF935 Autotype: Specifying '\v{name}' in the autotype text will cause the corresponding value to be autotyped. Download: PasswordSafe 64-bit | Portable 64-bit | ~20.0 MB (Open Source) Download: PasswordSafe 32-bit | Portable 32-bit View: PasswordSafe Website | Quickstart Guide | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Google DeepMind published a document on June 18, 2026, that may be the most consequential admission yet from a frontier AI lab: alignment training alone cannot guarantee that AI agents will remain under human control, so structural containment must be built before more capable models arrive.............. https://www.techtimes.com/articles/318758/20260620/google-deepmind-ai-control-roadmap-when-alignment-fails-defense-depth-takes-over.htm  
    • I've got a SoundBlasterX G6 that I use in my streaming setup. Sounds great to me and I've had zero issues with the ancient software package so far in Win11. That G6 has 7.1, Dolby, fully working SPDIF and since it's a USB device it's outside of my rig so I don't have to worry about EMF distortion. Looks like for now this is a pass for me as I think I have better hardware....
    • How do you connect 5.1 Speakers to this thing?
  • Recent Achievements

    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      88
    4. 4
      Steven P.
      75
    5. 5
      Michael Scrip
      74
  • Tell a friend

    Love Neowin? Tell a friend!