 |

ChetW
Staff

Mar 17, 2007, 12:06 PM
Post #26 of 29
(8557 views)
Shortcut
|
|
Re: [edesign] Password retrieval -- free script
[In reply to]
|
Can't Post
|
|
Hi edesign, Thanks for the post! This is actually a custom script that we have not created, I would suggest contacting the people at www.showmesites.com to get more details about this script. :) Does this help? If you have any further questions please feel free to ask! Cheers, Chet Woodside - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

showme
User
Jun 10, 2007, 9:31 PM
Post #27 of 29
(7779 views)
Shortcut
|
|
Re: [showme] Password retrieval -- free script
[In reply to]
|
Can't Post
|
|
I apologize, for some reason the attachments aren't working. Below is the code -- <? if ($_GET['action'] == ""){ ?> <TABLE cellSpacing=0 cellPadding=0 border=0 width="314"> <TR> <TD width=" 314"> <TR> <TD width="314" align="center"> <p align="left"><b><br> Password Retrieval: </b>Enter your account email address and your account information will be emailed to you.</TD> </TR> <TR><FORM action="<? echo "$_SERVER[PHP_SELF]";?>?action=mail" method=post> <TD width="314" align="center"><br> <INPUT type=text name=email size="20"><input type="submit" value="Send Password" name="B1"></TD> </TR></form> </table> <? } else { #|======================================================== #| Auto Manager & Realty Manager Password Retrieval #|======================================================== #| Developed by (www.ShowMeSites.com) #| Email: design@ShowMeSites.com #| Support: http://www.showmesites.com/forums/ #|======================================================== #|======================================================== #|Licence Information #|======================================================== #|You can redistribute it and/or modify it, as long as you don't make #|any profit from distributing it and do not remove it's copyright #|lines (both in the script's source and it's "output"). You can #|however remove the copyright in the script's output for your #|personal copy. #|This program is distributed in the hope that it will be useful, #|but WITHOUT ANY WARRANTY. ShowMeSites.com is not responsible for any loss of data #|it might occur by it's use. If you do not agree with the above terms, #|immediately destroy any copies of this programm, including this one. #|======================================================== #|Support Informaion #|======================================================== #|Unless customized by ShowMeSites.com support is not guaranteed. #|Support Forum: http://www.showmesites.com/forums/ #|======================================================== #|Liscense Agreement #|======================================================== #|Limited Warranty #|THE software IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR #|IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND #|FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE #|OF THE software IS WITH YOU. #|ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND #|BY ITS TERMS AND CONDITIONS. YOU FURTHER AGREE THAT IT IS THE COMPLETE AND EXCLUSIVE #|STATEMENT OF THE AGREEMENT BETWEEN US WHICH SUPERSEDES ANY PROPOSAL OR PRIOR AGREEMENT, ORAL #|OR WRITTEN, AND ANY OTHER COMMUNICATIONS BETWEEN US RELATING TO THE SUBJECT MATTER OF THIS AGREEMENT. ######################################################### #############Specify the following variables############# //Specify the path to your user.dat.cgi file $listing_file = "/path/to/user.dat.cgi"; //Email setup: **Avoid quotation marks $subject = "YourSite.com Password"; $site_name = "YourSite.com"; $sender = "email@YourSite.com"; $email = $_POST['email']; ######################################################### if($_GET['action'] == "mail"){ $cc=0; $listingfile = file("$listing_file"); while (list($key, $val) = each ($listingfile)){ $listingdata = explode("¡", $val); if($_POST['email'] == "$listingdata[19]"){ while( $cc < 1 ) { $message = "Below is your account information -- please save this email\r\n Username: $listingdata[2] Passord: $listingdata[3] Thanks, $site_name"; $message = stripslashes($message); $temp = mail($email, $subject, $message, "From: ".$site_name." <".$sender.">"); $status = "Your password has been sent to $email"; $cc++; } //End email verification } //End While statement } if(!$status){$status = "Sorry, we were unable to locate an account with the specified email address.";} //End mail action } ?> <TABLE cellSpacing=0 cellPadding=0 border=0 width="314"> <TBODY> <TR> <TD width=" 314"> <TR> <TD width="314" align="center"> <br> <? echo "$status"; ?></TD> </TR> </TABLE> <? //End action else } ?> --------- http://www.ShowMeSites.com Designs starting at $5 Free Web Hosting
(This post was edited by showme on Jun 10, 2007, 9:34 PM)
|
|
|  |
 |

Jake
Staff
/ Moderator

Jun 11, 2007, 11:49 AM
Post #28 of 29
(7737 views)
Shortcut
|
|
Re: [showme] Password retrieval -- free script
[In reply to]
|
Can't Post
|
|
Hi showme, Thanks for posting up your script again - I'm sure there are a lot of users who appreciate it!
----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

DavidH
User
Jun 12, 2007, 12:57 PM
Post #29 of 29
(7665 views)
Shortcut
|
|
Re: [showme] Password retrieval -- free script
[In reply to]
|
Can't Post
|
|
Thank You for posting the Script
|
|
|  |
|