Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager Add-ons:
Password retrieval -- free script

 

First page Previous page 1 2 Next page Last page  View All


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:&nbsp; </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!

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

First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4