hi all…
I was just on a site that pulled up my computers system data;
it told me my id address, server address, broswer info, etc etc…
how i that done…I lay it at your feet to rub your chin at…
postatomic :evil:
hi all…
I was just on a site that pulled up my computers system data;
it told me my id address, server address, broswer info, etc etc…
how i that done…I lay it at your feet to rub your chin at…
postatomic :evil:
There are certain ways you can do that… But… Now the question is… What medium do you wnat to use to figure it out?
Flash
PHP
JavaScript
???
well it was a flash site that did all this…so i would go for flash…just want to know how its done really…don’t think i could use it on my site…but its all knowledge and one day it might come in handy…
out of the three i choose flash…
postatomic:evil:
you grab my interest…and leave me hanging
Some links you might find interesting…
http://forums.devshed.com/showthread.php?threadid=30755
http://www.phpbuilder.com/mail/php-windows/2002071/0050.php
http://forums.devshed.com/t49667/sdbd9e898eae953c02eb411cc3e95263d.html
I just googled with ‘get ip address flash’… You can do this with the JavaScript, so if you want, you can check it out too… Not sure if this can be done with Flash only method or not… Guess we’ll have to wait for playamarz to clarify that…
:cowboy:
I’ll hve a look now…thanks for the links…
google is the saviour:pope:
postatomic:evil:
read and digested…
still not sure…
any more Ideas…
postatomic:evil:
Hm… Where is playamarz??? Too busy to deal with K-team, eh??? :q:
postatomic… Can you use PHP and Flash integration to get those kind of information to be displayed on the screen??? Can you use PHP on your host???
Cyan blue…
Not sure mate…never used PHP before…I’ll have to investigate and keep you informed…obviously you can do it…its just research…
still if anyone can give a clear way of doing it that would be great
postatomic:evil:
:sigh: :crazy:
All the server information was most likely relayed to their flash document to be displayed by PHP or ASP or soemthing of the such…
With FLASH MX… You can find out Screen Resolutions and DPI’s and Color settings. But nothing else other than that. So basically…
Search aroudn these forums for the loadVars() tutorials on how to load up a text file or php print"" and then PM me… I’ll write you a small script for sending ip and server data through to FLASH to be displayed.
Now you are back, playamarz… :beam:
Well… I don’t know when you are going to see this thread again… I thought that I’d just keep this on the forum rather than PMing you so that other people can get benefitted… =)
Having said that, playamarz made me to look up the PHP manual more… I thought that he’d show us some script… Since he didn’t he’s gotta see if my script is right or wrong… (I am not really great in PHP myself, I admit, but I’ve been using it for some time and getting something out of this kind of useful lessons… Thank you, playamarz… Besides that, all the answer was in the PHP manual…)
// Flash script
// sysInfo.fla
infoLVs = new LoadVars();
infoLVs.sendAndLoad("http://localhost/sysInfo.php?uniqueID=" + getTimer(), infoLVs, "POST");
infoLVs.onLoad = function(success)
{
sysInfoArray = new Array();
for (i in infoLVs)
{
if ((i != "onLoad") && (infoLVs* != infoLVs.QUERY_STRING))
sysInfoArray.unshift({info:i, value:infoLVs*});
}
for (i = 0 ; i < sysInfoArray.length ; i++)
trace(sysInfoArray*.info + " --- " + sysInfoArray*.value);
}
// PHP script
// sysInfo.php
<?php
function display($ar)
{
while(list($key, $val) = each($ar))
{
echo("&$key=" . $val . "&");
if (is_array($val))
{
display($val);
}
}
}
display($HTTP_SERVER_VARS);
?>
Trace output
ALLUSERSPROFILE — D:\Documents and Settings\All Users
CommonProgramFiles — D:\Program Files\Common Files
COMPUTERNAME — LINDA
ComSpec — D:\WINNT\system32\cmd.exe
CONTENT_LENGTH — 0
CONTENT_TYPE — application/x-www-form-urlencoded
GATEWAY_INTERFACE — CGI/1.1
HTTPS — off
HTTP_HOST — localhost
HTTP_REFERER — http://localhost/sysInfo.php?uniqueID=60
HTTP_USER_AGENT — Shockwave Flash
HTTP_CONTENT_LENGTH — 0
HTTP_CONTENT_TYPE — application/x-www-form-urlencoded
HTTP_CACHE_CONTROL — no-cache
INSTANCE_ID — 1
LOCAL_ADDR — 127.0.0.1
NUMBER_OF_PROCESSORS — 1
Os2LibPath — D:\WINNT\system32\os2\dll;
OS — Windows_NT
Path — d:\g\imagemagick;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem
PATHEXT — .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_TRANSLATED — d:\inetpub\wwwroot\sysInfo.php
PROCESSOR_ARCHITECTURE — x86
PROCESSOR_IDENTIFIER — x86 Family 6 Model 6 Stepping 0, GenuineIntel
PROCESSOR_LEVEL — 6
PROCESSOR_REVISION — 0600
ProgramFiles — D:\Program Files
REMOTE_ADDR — 127.0.0.1
REMOTE_HOST — 127.0.0.1
REQUEST_METHOD — GET
SCRIPT_NAME — /sysInfo.php
SERVER_NAME — localhost
SERVER_PORT — 80
SERVER_PORT_SECURE — 0
SERVER_PROTOCOL — HTTP/1.1
SERVER_SOFTWARE — Microsoft-IIS/5.0
SystemDrive — D:
SystemRoot — D:\WINNT
TEMP — D:\WINNT\TEMP
TMP — D:\WINNT\TEMP
USERPROFILE — D:\Documents and Settings\Default User
windir — D:\WINNT
SCRIPT_FILENAME — d:\inetpub\wwwroot\sysInfo.php
PHP_SELF — /sysInfo.php
argv — Array
argc — 1
Now, everybody knows how slow my computer is and so on… :bad:
One strange thing though… See this output, REQUEST_METHOD??? In my Flash code, I have it with “POST” and the return value comes as “GET”… And another strange one is ‘USERPROFILE’ which is set to ‘Default User’ when I am logged in as an adminstrator on this computer… What’s up with that??? Hm…
Hello!
I need to check system Info from our cbt which is Published as .exe. Any ideas how to fit this into what we are doing?
thanks
I have a very good teaching method I think… I very rarely give people exact lines of code… Not alot of people can learn by just looking at code… So I give them algorithsm and small help form time to time… Would you have actually looked up the research yourself and done it all if I would have just given you gusy the right stuff? Most likely not…
Now you know my ways… Good job on the coding…
Thank you, playamarz… I like the way you teach others… Yup… There is no point of helping others if they don’t know what you are really mening… Some code can help you to get through the problem someone has, but he/she will keep coming back to you with the same problem over and over if you do that… Sad, but true… :*(
Now… Back to the script… Like I have said, I am learning PHP bit by bit… I know how to mix and cut to get what I want, but I’d like to know if the code that I have is efficient or right way of doing it… Give me some pointer, would you??? :rambo:
cyndibrown…
I have a question for you in your other thread… Check it out and let me know in that thread…
As long as the code isn’t 20 million lines long… Yours is okay…
PHP isn’t looped around millions of times typically so you don’t really have to worry about it being efficient… Just as long as it works.
Okay… Thanks for the comfort… =)
:: Copyright KIRUPA 2024 //--