Ok, I have searched and have not really found an answer or a solution.
What I am trying to do is create a script that either runs on startup or is a user click button that goes out on the web and checks if there is an update of my app.
Using the sys_open(URL_var) does not really work because it wants to open a url file and I need something that will read the contents of a file on the web. If possible.
I have also tried using a passive link table to a remote mysql database and while this works great I have to specify a IP or Class C on my hosting to setup the remote mysql access on the web server. Since I do not know all the possible IP's of my customers I cannot really setup the IP's or Class C's to allow my app to access the remote database from their PC's and I definitely cannot setup every Class C for the United States and Canada.
If I only had a few customers of my app then it would be easy to setup the IP or Class C but I have hundreds of customers that use my app and gain more every week.
I need to find a way to just read a file or a hosting service that does not require me to setup the IP or Class C to setup the remote mysql access. I would think the database name and password coded into my app would be enough security to access a two field database.
The concept of checking for updates seems simple enough. Have a field with a version number, check to see if the version number on the web is greater than the version number in the app and if so then read the field containing the url to the update installer and give the user the option to download it.
It is just getting to be a pain in the rear sending out hundreds of emails notifying my customers of a update or patch. You know how people are about reading emails.
What I am trying to do is create a script that either runs on startup or is a user click button that goes out on the web and checks if there is an update of my app.
Using the sys_open(URL_var) does not really work because it wants to open a url file and I need something that will read the contents of a file on the web. If possible.
I have also tried using a passive link table to a remote mysql database and while this works great I have to specify a IP or Class C on my hosting to setup the remote mysql access on the web server. Since I do not know all the possible IP's of my customers I cannot really setup the IP's or Class C's to allow my app to access the remote database from their PC's and I definitely cannot setup every Class C for the United States and Canada.
If I only had a few customers of my app then it would be easy to setup the IP or Class C but I have hundreds of customers that use my app and gain more every week.
I need to find a way to just read a file or a hosting service that does not require me to setup the IP or Class C to setup the remote mysql access. I would think the database name and password coded into my app would be enough security to access a two field database.
The concept of checking for updates seems simple enough. Have a field with a version number, check to see if the version number on the web is greater than the version number in the app and if so then read the field containing the url to the update installer and give the user the option to download it.
It is just getting to be a pain in the rear sending out hundreds of emails notifying my customers of a update or patch. You know how people are about reading emails.
Comment