encode question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ricky

    #1

    encode question

    Is there any way to detect if a field has been encoded before I decode a
    field.


  • steve

    #2
    Re: encode question

    Ricky7 wrote:[color=blue]
    > Is there any way to detect if a field has been encoded before I[/color]
    decode a[color=blue]
    > field.[/color]
    Ricky, please provide more info on what you need to do.

    --
    http://www.dbForumz.com/ This article was posted by author's request
    Articles individually checked for conformance to usenet standards
    Topic URL: http://www.dbForumz.com/mySQL-encode-ftopict125854.html
    Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=421247

    Comment

    • Ricky

      #3
      Re: encode question

      I am going to encrypt information in my MySQL table using encode and decode.
      Like first and last name. The table is already filled with records.
      So before I display client's first name I need to know if it has been
      encoded,
      otherwise I'll use the decode function.


      "steve" <UseLinkToEmail @dbForumz.com> wrote in message
      news:26c08acd64 a5ea8912d77b474 08e8535@news.te ranews.com...[color=blue]
      > Ricky7 wrote:[color=green]
      > > Is there any way to detect if a field has been encoded before I[/color]
      > decode a[color=green]
      > > field.[/color]
      > Ricky, please provide more info on what you need to do.
      >
      > --
      > http://www.dbForumz.com/ This article was posted by author's request
      > Articles individually checked for conformance to usenet standards
      > Topic URL: http://www.dbForumz.com/mySQL-encode-ftopict125854.html
      > Visit Topic URL to contact author (reg. req'd). Report abuse:[/color]



      Comment

      • steve

        #4
        Re: Re: encode question

        Ricky wrote:[color=blue]
        > I am going to encrypt information in my MySQL table using encode[/color]
        and decode.[color=blue]
        > Like first and last name. The table is already filled with records.
        > So before I display client’s first name I need to know if it has[/color]
        been[color=blue]
        > encoded,
        > otherwise I’ll use the decode function.
        >
        >
        > "steve" <UseLinkToEmail @dbForumz.com> wrote in message
        > news:26c08acd64 a5ea8912d77b474 08e8535@news.te ranews.com...[color=green]
        > > Ricky7 wrote:[color=darkred]
        > > > Is there any way to detect if a field has been encoded before[/color][/color][/color]
        I[color=blue][color=green]
        > > decode a[color=darkred]
        > > > field.[/color]
        > > Ricky, please provide more info on what you need to do.
        > >
        > > --
        > > http://www.dbForumz.com/ This article was posted by author’s request
        > > Articles individually checked for conformance to usenet standards
        > > Topic URL: http://www.dbForumz.com/mySQL-encode-ftopict125854.html
        > > Visit Topic URL to contact author (reg. req’d). Report abuse:[/color]
        > http://www.dbForumz.com/eform.php?p=421247[/color]
        One simple way of doing that, is to provide a hidden field in your
        form. When encoded, this field would have a value of 1, otherwise
        zero.

        e.g. <input type=hidden name=’encoded’ value=1>

        --
        http://www.dbForumz.com/ This article was posted by author's request
        Articles individually checked for conformance to usenet standards
        Topic URL: http://www.dbForumz.com/mySQL-encode-ftopict125854.html
        Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=422131

        Comment

        Working...