Hi,
I need the algorithm of Serial Number Generator provided as an example with InstallAware package. I want to generate the serial on server side with PHP from customer name and company and after that to email the generated serial to the customer. Please help.
Thanks
Serial Number Generator
Re: Serial Number Generator
In the Serial Number Validator sample, the included script, Serial Number Generator has all the logic laid out for you.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Re: Serial Number Generator
mills wrote:In the Serial Number Validator sample, the included script, Serial Number Generator has all the logic laid out for you.
Yes i have checked that script file but unfortunately i can't replicate in PHP this 2 lines:
Set Random Number Generator Constants = 24337, 17312
Set Random Number Generator Seed = 31415
if someone have done this before maybe will give me some ideas ?
Thanks.
Re: Serial Number Generator
It's not clear what the constants are used for. I'm going to look at the code to see if I can find out what it does.
The seed should be pretty straight forward.
For PHP, you'll probably want to use srand() or mt_srand()
The seed should be pretty straight forward.
For PHP, you'll probably want to use srand() or mt_srand()
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Re: Serial Number Generator
How about creating a single-executable using the sample to generate the serials for you?
You can have it write the serial to file and call it using PHP's exec()...
You can have it write the serial to file and call it using PHP's exec()...
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Re: Serial Number Generator
Thanks for your responses. I solved this problem i have written my own key generator and validator to be able to integrate with the serverside key generator
Thanks.
Thanks.
Re: Serial Number Generator
iamfromk wrote:Thanks for your responses. I solved this problem i have written my own key generator and validator to be able to integrate with the serverside key generator
Thanks.
There is a way to share you app?
Or does anyone know from where to download ?
Who is online
Users browsing this forum: No registered users and 5 guests