Jump to content
Sign in to follow this  
arryo

Server Sync

Recommended Posts

arryo

Hello,

So I have a webhost running and a pc beside me.

Now I want to write a autoit program that - when a certain programm is active:

Should write the Status "Online" on the status.php page (with FTP Upload - is there a better solution?)

Or

"Offline", when the program isnt started, on the status.php page.

Now two questions:

How can I solve that when I just shut down the pc (I am not taking away the electricity, I shut it down normally), it changes the Status to "Offline"? Can Autoit notice that?

Second question:

Is there a better solution than uploading the entire page new with either "Online"/"Offfline"?

Thanks

Share this post


Link to post
Share on other sites
arryo

selfbump

First question in different grammer:

Is AutoIT able to notice if a PC is being shutted down?

Share this post


Link to post
Share on other sites
PsaltyDS

The forum rules are not to bump your thread for at least 24 hours.

Just a friendly pointer, if you wind up with a less-friendly warning from the Mods it could result in getting your account locked.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×