Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Protection Plus for Clipper - <u>pp_cenum()</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PP_CENUM()
Return the current code entry number
------------------------------------------------------------------------------

Syntax
  PP_CENUM()  .  nNumber

Returns
  The random number.

Description
  Generates a random number and declares a PUBLIC flag for the
  user code entry routine to use later.  This is used when either
  copy protection is used or other hidden routines are needed.  On
  the power-up screen, this number is displayed for the user to
  see.  When special access is needed to a routine, such as
  pp_copywrite(), the user tells you this number over the phone,
  so you can find the correct code using either the client tracking
  program or UNLOCK.EXE.

  The number is random, and leads to the ability to secure hidden
  procedures in your source code and only allow user access when
  he is online with you.  Protection Plus gives you eighteen
  hidden procedures.  For example, say you have a password
  function in your application and your user forgets his password.
  He can call you, tell you the code entry number on the screen,
  and you can run the decoder routine (in the host program) with
  his code entry number as a parameter, and instantly tell him a
  number to type in response to a special prompt, and the
  password check is overwritten.  He can then run the program,
  go to the password change function, and create a new password
  for future use.  Keep in mind, that the code entry number is
  random, but the actual code to enter in the special prompt
  changes EVERY DAY according to that number.  It would be
  nearly impossible to break the code, eliminating the possibility
  of one user calling another user and using unauthorized codes.
  There are so many possibilities available for this and associated
  functions.  Use your imagination.

Example

@ 5,2 say "Code entry: "+ltrim(str(pp_cenum()))

See Also: PP_UCODE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson