Check Web

Forum help and suggestions to improve this forum.

Moderator: Rathinagiri

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Re: Check Web

Post by mol » Thu Jan 31, 2019 4:11 pm

Franco, check you message box.
I've created database for you and account to its.
You can create tables.
When you finish, put here info what do you want to place in db and how do you want to check license. It won't be a problem to create some php functions to manage db

franco
Posts: 351
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 11 times

Post by franco » Thu Jan 31, 2019 5:12 pm

I have thought about this some more.
If I lease a program to a client, 99.9 % of businesses that would lease the program will pay monthly.
Each client that purchases the program out right has a 8 character serial number.
I thought for leases I would add 2 numbers at end of serial number chr(76). Now lease customers serial number has 10 characters. 1234567876.
All programs at start of day will check website if they have 10 characters in their serial number. I do not to need to check in a file for numbers.
I only need to create a empty file on the website with their number if they are overdue and will not pay. (1234567876.pdf).
If that file is on the website the program will not run. There may ever be only a couple or hopefully no files in that part of the site.
If the site can not be reached or the file is not there the program will run. Does this make more sense and very easy to do.
Franco
Franco Bushie
Canada

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Post by mol » Thu Jan 31, 2019 6:36 pm

I think your program should check if client has valid license and date of purchase it should store on local machine. What about a situation, when this machine is offline? You should prepare whole scenario for validation.

franco
Posts: 351
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 11 times

Post by franco » Thu Jan 31, 2019 9:22 pm

I think most computers are on the internet these days. When program starts it can check for internet and if no internet message LIMITED USE ?.
If they start the computer while on the internet and the number is on the website the program could change their serial number, then the program
will never start unless I send a special program to reset the serial number. I have to be a bit lenient as these are pos business customers, I hate to shut them down immediately, as most payment problems can be resolved.
I know how out of date they are as they are in my accounts receivable.
Any more thoughts would be appreciated .
Franco Bushie
Canada

User avatar
serge_girard
Posts: 2361
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 612 times
Been thanked: 124 times
Contact:

Post by serge_girard » Fri Feb 01, 2019 12:53 pm

Franco,

Immediate shutdown is a bit ...hard. You must build in that a message is being sent telling about future shutdown and how to resolve.
When there is no internet connection you should build in the USE of the previous connection, instead of limited use.

serge

franco
Posts: 351
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 11 times

Post by franco » Fri Feb 01, 2019 5:08 pm

I was thinking, when I send a receipt invoice for payment I could send a a complicated number that become a date I could get them to type
into a monthly update ?? which would be stored in a field of control file to compare with current date.
Or create a file in the current folder containing a complicated number creating a date.
I would never let program shut down unless they where way over due on payments and no resolution could be found. Like three months on a one
month lease.
This way I do not need internet other then emailing invoices and receipts. If they have no internet there is phone or mail.
Franco Bushie
Canada

User avatar
serge_girard
Posts: 2361
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 612 times
Been thanked: 124 times
Contact:

Post by serge_girard » Sat Feb 02, 2019 8:52 am

Remember current date can also be a problem. One day a friend's computer date was set to 01-01-1980 (or something) and his programs reacted very strange...

Serge

franco
Posts: 351
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 11 times

Post by franco » Sun Feb 03, 2019 2:05 am

Thanks Serge , You give me thoughts. My program has a field lastuse that updates at first start.
now says
if lastuse <> date()
replace lastuse with date()
I will replace with
if Date() > lastuse
replace lastuse with date()
endif
Now I am still working on when to create a folder in some part of computer when I send chr codes that equal something in control file for the
customer to update when I email the chr codes at new month.
The folder will have a new date stamp I can compare each day from.
Franco
Franco Bushie
Canada

Post Reply