can anybody explain this Forgot password code

Discussion in 'PHP' started by Suhana, May 31, 2011.

  1. Suhana

    Suhana New Member

    Joined:
    May 30, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    My company sites forgot password is not working.Below is the code I found in the view folder-ForgotPassword.spark file.
    Can anybody pls explain what is this and why it is not working.Pls tell me what more do I need to post to elaborate on this.
    Pls guys help me out..
    Code:
     
    <viewdata model="ForgotPasswordInput" />
    <content:sidebar>
    </content:sidebar>
    <div id="forgot-password-form">
    <h1>Forgotten Password</h1>
    # Html.EnableClientValidation();
    <p>Please enter your email address below and we'll reset your password and send you an email.</p>
    <div>
    <if condition="TempData['Confirmation'] != null">
    ${Html.MessagePanel((MessagePanel)TempData['Confirmation'])}
    </if>
    # Html.BeginForm();
    !{Html.EditorForModel()}
    <div class="submit">
      <input type="image" src="~/content/image/button/submit2.gif" value="ResetPassword" />
    </div>
    # Html.EndForm();
    </div>
    </div>
     
    Thanks,
    Suhana:confused:
     
    Last edited by a moderator: May 31, 2011
  2. pein87

    pein87 Active Member

    Joined:
    Aug 6, 2010
    Messages:
    173
    Likes Received:
    47
    Trophy Points:
    28
    Occupation:
    Web Dev
    Location:
    Limbo
    Did they get this working in php even though its for ASP.NET? Download the free visual web developer 2010, .net frame work 4.0(It should be included in the install but just in case) or install webmatrix either one should allow you to view this file in it. Make sure to view the spark site to and ask your company what CMS(content management system) they are using and if its free or open source grab a download of it and install it via IIS 7 if your on windows or try Mono(sorry no link for it).

    VWD 2010

    http://www.microsoft.com/express/Web/

    Spark

    http://sparkviewengine.com

    Or WebMatrix

    http://www.microsoft.com/web/webmatrix/
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice