|
|||
|
If i have my test.ini file on my webserver, how do i access data inside of it ?
Ive tested few ways now but without any luck. Is it even possible ? Or is there another way, what im tring to do is that this ini will return a value when accessed, its supposed to check if webserver is online or offline. so basicly if my application dosent receive anything then webserver is supposed to be offline. Is there maybe better way ? |
|
|||
|
Im using this example in AS2
Code:
var inet = new Inet;
function on_geturl(type, msg)
{
Global.trace(msg);
return type;
}
inet.getUrl("http://www.swfkit.com", "c:\\1.html");
lets dump the idea of the ini... i need a value... 1 or 0 if a website is up.... or not. Above code only saves the index file. When im looking onGetUrl in help then i see it returns eighter 1 or 0... but how ? |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|