For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > November 2004 > Newbie Question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Newbie Question
Michael

2004-11-16, 8:55 pm

I am not sure where to post this question, so I will try here...

I want to give users of my software the ability to automatically register
their copy of my program via the web.
The program will send a string to the server, then the server will send back
a string. I don't know much about how server side stuff works, what method
do I need to use to do this? Once you tell me what method to use, I will do
the research on how to actually do it.

-Application sends to server a unique string (mostly numbers)
-Server does a manipulation on that string and sends back the manipulated
string.
-Application stores the registration data on the hard drive.

I hope this is clear enough that someone can answer.

Thank you,
Michael


Michael Vilain

2004-11-16, 8:55 pm

In article <1FUld.23145$6w6.17145@tornado.tampabay.rr.com>,
"Michael" <INERFAZE@aol.com> wrote:

> I am not sure where to post this question, so I will try here...
>
> I want to give users of my software the ability to automatically register
> their copy of my program via the web.
> The program will send a string to the server, then the server will send back
> a string. I don't know much about how server side stuff works, what method
> do I need to use to do this? Once you tell me what method to use, I will do
> the research on how to actually do it.
>
> -Application sends to server a unique string (mostly numbers)
> -Server does a manipulation on that string and sends back the manipulated
> string.
> -Application stores the registration data on the hard drive.
>
> I hope this is clear enough that someone can answer.


This is quite doable with a number of technologies. One of my friends
does this with Java servlets since their application is written in Java.

Another application I use to register and decrypt software has a
"manual" mode for an older version of the OS that sends the request to
their registration server and the browser sends back the response key
which you paste into the registration application to decrypt the
software. The newer OS does this automatically.

I think you have to do some reading on php and your web server (Apache
or whatever) to be able to start this project. There are a number of
books out there. Visit a local technical bookstore and find ones that
make sense to you. Either buy them there or on-line.

Another thing is that many might consider an application that "phones
home" like you describe without the knowledge of the user to be spyware.
It might even be considered illegal in some US locations. You should
make the registration process visible and user-driven from your
application with an option to not register the software (with obvious
consequences of being nagged or disabling features or whatever).

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Michael Vilain

2004-11-20, 8:55 am

In article <1FUld.23145$6w6.17145@tornado.tampabay.rr.com>,
"Michael" <INERFAZE@aol.com> wrote:

> I am not sure where to post this question, so I will try here...
>
> I want to give users of my software the ability to automatically register
> their copy of my program via the web.
> The program will send a string to the server, then the server will send back
> a string. I don't know much about how server side stuff works, what method
> do I need to use to do this? Once you tell me what method to use, I will do
> the research on how to actually do it.
>
> -Application sends to server a unique string (mostly numbers)
> -Server does a manipulation on that string and sends back the manipulated
> string.
> -Application stores the registration data on the hard drive.
>
> I hope this is clear enough that someone can answer.


This is quite doable with a number of technologies. One of my friends
does this with Java servlets since their application is written in Java.

Another application I use to register and decrypt software has a
"manual" mode for an older version of the OS that sends the request to
their registration server and the browser sends back the response key
which you paste into the registration application to decrypt the
software. The newer OS does this automatically.

I think you have to do some reading on php and your web server (Apache
or whatever) to be able to start this project. There are a number of
books out there. Visit a local technical bookstore and find ones that
make sense to you. Either buy them there or on-line.

Another thing is that many might consider an application that "phones
home" like you describe without the knowledge of the user to be spyware.
It might even be considered illegal in some US locations. You should
make the registration process visible and user-driven from your
application with an option to not register the software (with obvious
consequences of being nagged or disabling features or whatever).

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com