ConsultingJoe Posted December 15, 2006 Posted December 15, 2006 (edited) This script will allow you to get a few items of data from the users of your programs.All you need is:-An ID name/number that is unique-Internet access to record and view dataTo check your data: http://cyberzerocool.com/mystats?id=2To record data: http://cyberzerocool.com/mystats?id=2&add=TESTTo delete id: http://cyberzerocool.com/mystats?remove=2expandcollapse popup; $ID = ; A unique name/number for your stats ; Example: My_program_1234 ; ===================================================================== ; NOTE: To access your starts just goto www.cyberzerocool.com/mystats/?id=$ID ; ===================================================================== ;=======Example======== #include <IE.au3> _ProgramStats( "2" ) ;====================== Func _ProgramStats( $ID ) Local $string = "<table border='3'>" $string = $string & "<tr><td>Computer:</td><td>" & @ComputerName & "</td></tr>" $string = $string & "<tr><td>User:</td><td>" & @UserName & "</td></tr>" $string = $string & "<tr><td>OS Type:</td><td>" & @OSTYPE & "</td></tr>" $string = $string & "<tr><td>Ping:</td><td>" & Ping( "Google.com", 20 ) & "</td></tr>" $string = $string & "<tr><td>Date/Time:</td><td>" & @MDAY & "/" & @MON & "/" & @YEAR & " " & @HOUR & ":" & @MIN & ":" & @SEC & "</td></tr></table>" ; By: Greg "Overload" Laabs Local Const $aURIValidChars[256] = _ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _ 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, _ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, _ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, _ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Local $sEncoded = "" For $i = 1 To StringLen($string) Local $c = StringMid($string, $i, 1) If $c = " " Then $c = "+" If Number($aURIValidChars[Asc($c) ]) Then $sEncoded &= $c Else $sEncoded &= StringFormat("%%%02X", Asc($c)) EndIf Next $string = $sEncoded ConsoleWrite( $string ) $ie = _IECreate("Http://cyberzerocool.techguy86.net/mystats?add=" & $string & "&id=" & $ID, 0, 0) _IEQuit($ie) EndFunc Edited December 15, 2006 by CyberZeroCool Check out ConsultingJoe.com
RazerM Posted December 15, 2006 Posted December 15, 2006 Looks good, it could be used to send optional error information if the user agrees to (like Microsofts "Customer Experience Improvement Program"). My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
ConsultingJoe Posted December 16, 2006 Author Posted December 16, 2006 Looks good, it could be used to send optional error information if the user agrees to (like Microsofts "Customer Experience Improvement Program").Yes good idea or a work around for TCP data Check out ConsultingJoe.com
ConsultingJoe Posted December 16, 2006 Author Posted December 16, 2006 Looks good, it could be used to send optional error information if the user agrees to (like Microsofts "Customer Experience Improvement Program").Yes good idea or a work around for TCP data Check out ConsultingJoe.com
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now