Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   can anybody explain this Forgot password code (http://www.go4expert.com/forums/explain-forgot-password-code-t25942/)

Suhana 31May2011 11:08

can anybody explain this Forgot password code

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..

<viewdata model="ForgotPasswordInput" />
<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>
<if condition="TempData['Confirmation'] != null">
# Html.BeginForm();
<div class="submit">
  <input type="image" src="~/content/image/button/submit2.gif" value="ResetPassword" />
# Html.EndForm();


pein87 1Jun2011 13:07

Re: can anybody explain this Forgot password code
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




Or WebMatrix


All times are GMT +5.5. The time now is 16:05.