Problems with User registration on WebPage.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Victor Cisneros
    New Member
    • Jan 2011
    • 1

    Problems with User registration on WebPage.

    When users register in my webpage, their information is sent to me correctly, but their password shows up like this: *3543A0AD7EA1BA D
    How can I make the passwords to come out as the users wrote them?

    And, when they finish registering this code comes up:
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/16/7266916/html/register.php:1) in /home/content/16/7266916/html/register.php on line 54

    How can I change this, instead of that code appearing, after registering, the user is sent directly to the webpage's main page?



    and after they sign in the page show this code
    Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at /home/content/16/7266916/html/logon.php:13) in /home/content/16/7266916/html/logon.php on line 55

    how can I fix this
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    Without seeing your code I can't tell you exactly how to fix your errors. Those errors are related to a method such as start_session or setcookie being called after output for the page has already begun. You need to call those method before any whitespace or output is sent to the browser.

    The password has likely been hashed or encrypted before it is being sent to you for security reasons. You should not be sending unencrypted passwords over a network anyways, it is not secure and your users could end up being the victim of an attack.

    Comment

    Working...