Ubot and License Confirmation

3 replies
Sorry for the ambiguous title, I didn't really know how to phrase it.

Basically, my partner on an upcoming project is making a bot with Ubot and we would like to have the bot verify the user has a valid license before the bot works.

Our plan is to have the user enter their PayPal email into a license.txt file and then before the bot begins it would navigate to somewhere to verify that the PayPal address is valid.

The easiest way I imagine would be to simply have a web page with a list of PayPal emails on it, however, doing that would mean it's not secure and anyone would be able to access that page which is not a good thing.

Does that make sense?

What is the easiest way to go about doing something like this?

Cheers,

Pat.
#confirmation #license #ubot
  • Profile picture of the author stma
    Make a page on your server where the ubot bot enters in their e-mail addy. If it's in your database - redirect where ubot expects.

    If it isn't redirect to a 'buy me' page or 'you failed' or something and have the bot stop if that page is encountered.
    {{ DiscussionBoard.errors[2017302].message }}
    • Profile picture of the author halfpoint
      Originally Posted by stma View Post

      Make a page on your server where the ubot bot enters in their e-mail addy. If it's in your database - redirect where ubot expects.

      If it isn't redirect to a 'buy me' page or 'you failed' or something and have the bot stop if that page is encountered.
      Sorry, I don't really understand how to do any of that.

      I don't want to redirect Ubot to a page that just has a list of buyers emails as I don't want that list to be able to be accessed by anyone.

      Is there a way that Ubot can still access that list of buyer emails without the actual user using the bot seeing them or having the ability to access them?
      {{ DiscussionBoard.errors[2017906].message }}
  • Profile picture of the author Jeff S
    1. Create a database with your active users/emails.
    2. Create a php script that issues a small SQL statement to check if the email is in the DB
    3. Make a UI element on your ubot that is the email
    4. The first step in the UBot routine is to take the email and check it against your database with the PHP script (ex. URL using PHP GET : EX.
    yourdomain.com/emailcheck.php?=noway@jose.com). If the record exists, you can "echo/print" something to the screen such as "valid".

    5. Your uBot can then scrape the screen looking for "valid". If it exists, then proceed to the next step. If not, fail.

    It should be VERY simple for someone to do with PHP/MYSQL experience (there on tons on this board and all the elance/odesk's of the world). Don't forget that you'll want a way to modify the email records in the DB so you can update your "licenses"

    Hope this helps!

    -Jeff
    {{ DiscussionBoard.errors[2021737].message }}

Trending Topics