1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A script like Personal Notepad?

Discussion in 'General Programming Chat' started by UniqueRain, Nov 8, 2008.

  1. UniqueRain

    UniqueRain Registered Member

    Joined:
    Feb 19, 2008
    Messages:
    69
    Likes Received:
    10
    I am looking for a script for personal notepad like the one you see in user panel. I just need one for my website. Anyone know of one?
     
  2. UniqueRain

    UniqueRain Registered Member

    Joined:
    Feb 19, 2008
    Messages:
    69
    Likes Received:
    10
    bump, I appreciate any leads / help :D
     
  3. snowm

    snowm Registered Member

    Joined:
    Apr 20, 2008
    Messages:
    52
    Likes Received:
    32
    Location:
    Under your bed
    check hots///cripts.com plenty of free php scripts.

    (remove ///)
     
  4. UniqueRain

    UniqueRain Registered Member

    Joined:
    Feb 19, 2008
    Messages:
    69
    Likes Received:
    10
    what's that type of notepad called? I can't find anything similar to it.
     
  5. cyklotrial

    cyklotrial Regular Member

    Joined:
    Oct 13, 2008
    Messages:
    248
    Likes Received:
    82
    Location:
    Wonderland
    Outline of action of such a notebook:
    PHP:
    <?
    function 
    form($txt)
    {
        echo 
    '
        <form name="personalnotepad" method="post" action="usercp.php">
        <textarea name="notepad" id="notepad" rows="7" cols="45">'
    .$txt.'</textarea>
        <input type="submit" value="Save Notepad" />'
    ;
    }

    $txt=$_POST['notepad'];
    if(
    $txt)
        {
        
    //save in database
        
    }
    else
        {
        
    //check txt in database
        //$txt_db= txt from database
        
    form($txt_db);
        }
    ?>
    regards