Running Code in Binaries

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
MikeD
Forum Newbie
Posts: 1
Joined: Mon Aug 22, 2005 3:34 pm
Location: Brockville, Ontario

Running Code in Binaries

Post by MikeD »

Hey all,

We have an option on our website to allow propects to download an evaluation copy of our software. In order for the the customer to install the software, they must input the proper activation keys which allow the software to run for 30 days.

Currently, when a prospect downloads the software, we have a .PHP script which email notifies Customer Support, who will then update our databases, and send the prospect an email with the activation codes.

We're finding this manual process to be a bit of a pain for obvious reasons (time zones primarily), and would like to goto a more automated system. I'm experienced in .PHP/.HTML .. (server supports .ASP too) But willing to venture down other avenues to solve our little problem. We would like a script to run that would generate an email with all the information they require to activate, without our interaction.

I'd prefer to keep the activation code generation in some kind of binary form, for security reasons. But I'm easily convinced of a better way.

Question: Does your company work in a similar way? How is this done? What would you recommend?

Any information/suggestions would be greatly appreciated.

Mike
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

depending on your DBMS, php can easily interact with it and update the information. exec() and its siblings can execute an external binary...
Post Reply