User Code List
New Snippet
CSS2
---Reset all elements
------New Snippet
---Floats: Clearing floats
---min-height
---css diagnostic script
---ie conditional statement
---opacity
---New Snippet
---New Snippet
---New Snippet
---New Snippet
---V & H centering
---box model hack
---css timeline
---Form made of

  • ---Append icons at end or begining of links
    ---Sprite btn
    ---Background Image with a color at the bottom to blend
    vert & hor aligning
    ---box model hack
    variables: Create a variable
    PHP
    ---creativing a variable
    ---array
    ---functions
    ------New Snippet
    ---Form
    ---functions with parameters
    ---email validater
    ---placing strings within strings
    ---passing values through urls strings
    ---rotating banner
    ---if elsif switch
    ---while for foreach
    ---URL values
    ---PHP REDIRECT
    ---DISPLAYING TIME IN DIFFERENT TIME ZONES
    ---String Functions
    ---Mondy formatting
    New Snippet
    AS3
    ---Variable: Data typing for Numbers.
    ---Functions
    ---Dot Syntex
    ---Displaying mc_Clips
    ---Displaying _mc from library.
    ---Targeting nested _mc
    ---Events
    ---Managing Depth with as3
    ---Drag and Drop
    ---Loading images
    ---toggle button
    ---TweenMax: Tweening to a curve path
    SQL
    ---New Snippet
    ---DB connection
    ---SELECTS
    ---WHERE
    ---NOTES
    ---OPERATORS FOR WHERE
    ---AND
    ---OR
    ---AND OR
    ---ORDER BY
    ---INSERT INTO
    ---UPDATE
    ---New Snippet
    ---FORGOT PASSWORD FORM
    ---LOGIN FORM
    ------New Snippet
    ---Encrypting Password using md5() functiont
    HTML 5
    ---New DOCTYPE
    ---Elements: New
    ---Coding a HTML 5 layout
    ------New Snippet
    ---HTML 5 .js File
    ---Grey Scale Hover
    ---HTML5 video syncing
    ---Canvase
    New Snippet
    Freelance Assets
    ---Formula for pricing
    ---New Snippet
    New Snippet
    New Snippet
    New Snippet
    New Snippet
    New Snippet
    New Snippet
    AS3
    ---toggle button
    GREENSOCK TWEENS
    ---TimelineMax
    ------New Snippet
    ------New Snippet
    ---TweenMax
    ---New Snippet
    ---New Snippet
    ---New Snippet
    ---New Snippet
    ---New Snippet
    New Snippet
    New Snippet
    New Snippet
    TweenMax
    CSS3
    ---Make Your Mockup in Markup
    ------New Snippet
    ------New Snippet
    ------New Snippet
    ------New Snippet
    ---Cleaner Code with CSS3 Selectors
    ---Breaking Out The Edges of The Browser
    ---Stronger, Better, Faster Design with CSS3
    ---Pushing Your Buttons With Practical CSS3
    ---New Snippet
    ------New Snippet
    ---CSS3 button
    ---CSS3 Media Querys
    ---css3 3 column module
    Design Trends 2009
    ---Trends
    New Snippet
    JAVASCRIPT
    ---If else
    ---Math
    ---Dot Syntax
    ---veriables
    ---Operaters
    ---switch, case, break Statement
    ---For Loop
    ---Array
    ---Functions
    ---Alert window popup with button click
    ---setTimout For Timers
    ---Select List with links
    ---Form Validation before sending to php
    ---Loading Alt Versions of your site
    ---Time on your site
    ---Navigating within same page
    ---Toggling content in same div w/ btns
    ---Short notation
    ---Formatting money
    ---onlclick on buttns, rollover, and on text links
    ---New Snippet
    ---External Script
    ---New Snippet
    New Snippet
    JQUERY - XML
    ---Retrieving data from an xml file
    IE FIXES
    ---New Snippet
    New Snippet
    ---New Snippet
    New Snippet
    JQUERY MASTER
    ---JQUERY - Retrieving Page Content
    ------Attribute Targeting
    ------jquery wrapper
    ---------New Snippet
    ---------New Snippet
    ------Jquery Transition Plugin
    ---------New Snippet
    ------Smart Columns CSS & jQuery
    ------No conflict with other libraries
    ---------New Snippet
    ------New Snippet
    ------Add Class
    ------Jqery wrapper
    ---------New Snippet
    ------Content & Visibility
    ------Filters
    ------Form Selectors
    ------Targeting Elements
    ------Chaining
    ------Targeting attributes
    ------New Snippet
    ---------New Snippet
    ------Anotation
    ---JQUERY - Manipulatin Page Content
    ------Creating, Setting and Getting Content
    ------Change values of an element using [attr]
    ------Inserting Content
    ------Wrapping, Replacing and Removing Content
    ------CSS Function
    ------Add Class
    ------Rollovers
    ------animate
    ------Create elements on button click
    ---JQUERY - Creating Dom Elements
    ------Generating new HTML
    ---JQUERY - Targeting Attribute Values
    ------attr
    ---Binding- Multiple Events
    ---Display text of an element
    ---Getting images and copy from an array
    New Snippet
    JQUERY - Events
    ---New Snippet
    New Snippet
    JQUERY - Events
    ---ToggleClass
    New Snippet
    XML
    ---Displaying xml data an styling it with css
  •  
     
    FORGOT PASSWORD FORM
     

    //HTML

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>Untitled Document</title>

    </head>

    <body>

    <table width="398" border="0" cellpadding="3" cellspacing="1" >

    <tr>

    <td width="38%"><strong>Enter your email : </strong></td>

    <td width="62%"><form name="form1" method="post" action="send_password_ac.php">

    <input name="email_to" type="text" id="mail_to" size="25">

    <input type="submit" name="Submit" value="Submit">

    </form>

    </td>

    </tr>

    </table>

    </body>

    </html>

    //PHP

    <?php

    $host="208.112.101.236"; // Host name

    $username="infadesign"; // Mysql username

    $password="Mistainfa1"; // Mysql password

    $db_name="infadesign"; // Database name

    //Connect to server and select databse.

    mysql_connect("$host", "$username", "$password")or die("cannot connect to server");

    mysql_select_db("$db_name")or die("cannot select DB");

    // value sent from form

    $email_to=$_POST['email_to'];

    // table name

    $tbl_name=Family;

    // retrieve password from table where e-mail = $email_to(mark@phpeasystep.com)

    $sql="SELECT password FROM $tbl_name WHERE Email='$email_to'";

    $result=mysql_query($sql);

    // if found this e-mail address, row must be 1 row

    // keep value in variable name "$count"

    $count=mysql_num_rows($result);

    // compare if $count =1 row

    if($count==1){

    $rows=mysql_fetch_array($result);

    // keep password in $your_password

    $your_password=$rows['password'];

    //Send email//

    // send e-mail to ...

    $to=$email_to;

    // Your subject

    $subject="Your password here";

    // From

    $header="from: your name <your email>";

    // Your message

    $messages= "Your password for login to our website ";

    $messages.="Your password is $your_password ";

    $messages.="Copy the down next time ";

    // send email

    $sentmail = mail($to,$subject,$messages,$header);

    }

    // else if $count not equal 1

    else {

    echo "Not found your email in our database";

    }

    // if your email succesfully sent

    if($sentmail){

    echo "Your Password Has Been Sent To Your Email Address.";

    }

    else {

    echo "Cannot send password to your e-mail address";

    }

    ?>

     
    Sub-Article List